Ejemplo n.º 1
0
        public static ClSimplexSolver AddPointStay(this ClSimplexSolver solver, ClPoint clp, double weight)
        {
            solver.AddStay(clp.X, ClStrength.Weak, weight);
            solver.AddStay(clp.Y, ClStrength.Weak, weight);

            return(solver);
        }
Ejemplo n.º 2
0
        public static ClSimplexSolver AddPointStay(this ClSimplexSolver solver, ClPoint clp)
        {
            solver.AddPointStay(clp, 1.0);

            return(solver);
        }
Ejemplo n.º 3
0
    public ClSimplexSolver AddPointStay(ClPoint clp)
      /* throws ExClRequiredFailure, ExClInternalError */
    {
      AddPointStay(clp, 1.0);

      return this;
    }
Ejemplo n.º 4
0
    public ClSimplexSolver AddPointStay(ClPoint clp, double weight)
      /* throws ExClRequiredFailure, ExClInternalError */
    {
      AddStay(clp.X, ClStrength.Weak, weight);
      AddStay(clp.Y, ClStrength.Weak, weight);

      return this;
    }