コード例 #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);
        }
コード例 #2
0
        public static ClSimplexSolver AddPointStay(this ClSimplexSolver solver, ClPoint clp)
        {
            solver.AddPointStay(clp, 1.0);

            return(solver);
        }
コード例 #3
0
    public ClSimplexSolver AddPointStay(ClPoint clp)
      /* throws ExClRequiredFailure, ExClInternalError */
    {
      AddPointStay(clp, 1.0);

      return this;
    }
コード例 #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;
    }