baseline
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
"""问题四基线实现:把问题三策略原样搬用的两条对照。
|
||||
|
||||
- ``bayes``:问题三最优策略直接用于混合源。它用七站环的**全向**缺席证明,
|
||||
对"定向源朝外发射"场景会错误地把真源判为 ABSENT,属于"快而错"的典型;
|
||||
- ``grid``:49 点全向网格(对定向源发现是完备的),但缺少定向观测推理与
|
||||
≤20 m 后备清除,定位停滞时只能停在 DETECTED,属于"稳而不全"。
|
||||
两条基线都不共享最优实现的联合信念与后备清除逻辑。
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from mcm26b.planner import OmnidirectionalLoop
|
||||
from mcm26b.planner.bayes_loop import BayesLoop
|
||||
|
||||
from project.common import Method
|
||||
|
||||
BAYES = Method(key="baseline", name="问题三最优策略直接搬用 (bayes)",
|
||||
kind="baseline", note="七站全向缺席证明在定向源上失效")
|
||||
GRID = Method(key="baseline_grid", name="49 点网格全向策略 (grid)",
|
||||
kind="baseline", note="覆盖完备但无定向推理与后备清除")
|
||||
|
||||
def build_bayes(client, config):
|
||||
"""工厂:问题三 bayes 策略直接搬用。"""
|
||||
return BayesLoop(client, config)
|
||||
|
||||
|
||||
def build_grid(client, config):
|
||||
"""工厂:49 点网格全向策略直接搬用。"""
|
||||
return OmnidirectionalLoop(client, config)
|
||||
Reference in New Issue
Block a user