Ejemplo n.º 1
0
 public SearchAgentInfo()
 {
     InitialState      = new AnonymousGeneralVariableInfo();
     Problem           = new SimpleOrExpression <ProblemInfo>();
     HeuristicFunction = new EnabledFeature <AnonymousGeneralVariableInfo <HeuristicFunction> >();
     Search            = new SimpleOrExpression <SearchInfo>();
 }
Ejemplo n.º 2
0
 public ProblemInfo()
 {
     ActionsFunction  = new AnonymousGeneralVariableInfo <ActionsFunction>();
     ResultFunction   = new AnonymousGeneralVariableInfo <ResultFunction>();
     GoalTest         = new AnonymousGeneralVariableInfo <GoalTest>();
     StepCostFunction = new EnabledFeature <AnonymousGeneralVariableInfo <StepCostFunction> >();
 }
 public static bool IsRecordEnabled(this EnabledFeature enabledFeature)
 {
     return(enabledFeature == EnabledFeature.Both || enabledFeature == EnabledFeature.RecordOnly);
 }
 public static bool IsClipEnabled(this EnabledFeature enabledFeature)
 {
     return(enabledFeature == EnabledFeature.Both || enabledFeature == EnabledFeature.ClipOnly);
 }