/// <summary>
 /// Initializes a new instance of the <see cref="controlObjectiveRuleBase"/> class.
 /// </summary>
 /// <param name="__parent">The parent.</param>
 /// <param name="spiderObjectiveEnum">The spider objective enum.</param>
 /// <param name="avoided">The avoided.</param>
 /// <param name="notSolved">The not solved.</param>
 /// <param name="__name">The v1.</param>
 /// <param name="__description">The v2.</param>
 /// <param name="__treshold">The v3.</param>
 public controlObjectiveRuleBase(spiderEvaluatorSimpleBase __parent, spiderObjectiveEnum spiderObjectiveEnum, spiderObjectiveStatus avoided, spiderObjectiveStatus notSolved, string __name, string __description, int __treshold)
 {
     parent      = __parent;
     objective   = spiderObjectiveEnum;
     afirmative  = avoided;
     denial      = notSolved;
     name        = __name;
     description = __description;
     treshold    = __treshold;
 }
Beispiel #2
0
        public spiderObjective AddObjective(string __name, string __description, spiderObjectiveEnum __tag)
        {
            spiderObjective obj = new spiderObjective();

            obj.name        = __name;
            obj.description = __description;
            obj.codename    = __tag.ToString();
            obj.tag         = __tag;
            obj.supervisor  = spiderObjectiveModeEnum.controlRule;
            objectives.Add(obj);
            return(obj);
        }
Beispiel #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="controlRuleBase"/> class.
        /// </summary>
        /// <param name="__parent">The parent.</param>
        public controlRuleBase(spiderEvaluatorSimpleBase __parent, spiderObjectiveEnum __objective, spiderObjectiveStatus __afirmative, spiderObjectiveStatus __denial, string __name, string __description, int val)
        {
            name        = __name;
            description = __description;
            parent      = __parent;

            treshold = val;

            objective  = __objective;
            afirmative = __afirmative;
            denial     = __denial;
            type       = spiderObjectiveType.flowControl;
        }
Beispiel #4
0
 public void AddObjective(string name, string description, spiderObjectiveEnum t1)
 {
     stages.Last().AddObjective(name, description, t1);
 }
 public spiderObjectiveSolution(spiderObjectiveEnum target, spiderObjectiveStatus __status)
 {
     targetedObjective = target;
     status            = __status;
 }