Example #1
0
        public override void Initialize(Problem p)
        {
            var c = (Call)Name;

            Result = (FloatVariable)c.Args[1];
            input  = (FloatVariable)c.Args[0];
            input.AddFunctionalConstraint(this);
            base.Initialize(p);
        }
Example #2
0
 public override void Initialize(Problem p)
 {
     base.Initialize(p);
     Result.AddFunctionalConstraint(this);
 }