Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="controlRuleBase"/> class.
        /// </summary>
        /// <param name="__parent">The parent.</param>
        public controlRuleBase(spiderEvaluatorSimpleBase __parent, spiderObjectiveStatus __afirmative, spiderObjectiveStatus __denial, string __name, string __description, int val)
        {
            name        = __name;
            description = __description;
            parent      = __parent;

            denial = __denial;

            afirmative = __afirmative;
            type       = spiderObjectiveType.dropOutControl;
            treshold   = val;
        }
Ejemplo n.º 3
0
 public spiderObjectiveSolution(spiderObjectiveEnum target, spiderObjectiveStatus __status)
 {
     targetedObjective = target;
     status            = __status;
 }
Ejemplo n.º 4
0
 public controlLinkRuleBase(spiderEvaluatorSimpleBase __parent, spiderObjectiveStatus __afirmative, spiderObjectiveStatus __denial, string __name, string __description, int val) : base(__parent, __afirmative, __denial, __name, __description, val)
 {
 }
Ejemplo n.º 5
0
 public spiderObjectiveSolution(spiderWebElementBase target, spiderObjectiveStatus __status)
 {
     elements.Add(target);
     status = __status;
 }