Example #1
0
 public static void generateYConstraints(RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateYConstraints(RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public virtual void generateSeparationConstraints(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.CompoundConstraint_generateSeparationConstraints(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public override void generateSeparationConstraints(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vs, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t gcs)
 {
     colaPINVOKE.MultiSeparationConstraint_generateSeparationConstraints(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vs), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(gcs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void createVars(Dim dim, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars)
 {
     colaPINVOKE.Cluster_createVars(swigCPtr, (int)dim, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public static void setNodeVariables(TopologyNodePtrVector ns, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vs)
 {
     colaPINVOKE.setNodeVariables(TopologyNodePtrVector.getCPtr(ns), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void generateTopologyConstraints(Dim k, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.OrthogonalEdgeConstraint_generateTopologyConstraints(swigCPtr, (int)k, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void generateVariables(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars)
 {
     colaPINVOKE.PageBoundaryConstraints_generateVariables(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void generateSeparationConstraints(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vs, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t gcs)
 {
     colaPINVOKE.MultiSeparationConstraint_generateSeparationConstraints(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vs), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(gcs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void generateSeparationConstraints(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.CompoundConstraint_generateSeparationConstraints(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #10
0
 public void generateNonOverlapConstraints(Dim dim, SWIGTYPE_p_NonOverlapConstraints nonOverlapConstraints, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.Cluster_generateNonOverlapConstraints(swigCPtr, (int)dim, SWIGTYPE_p_NonOverlapConstraints.getCPtr(nonOverlapConstraints), RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #11
0
 public static void generateYConstraints(RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateYConstraints(RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #12
0
 public static void setNodeVariables(TopologyNodePtrVector ns, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vs)
 {
     colaPINVOKE.setNodeVariables(TopologyNodePtrVector.getCPtr(ns), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #13
0
 public void generateNonOverlapConstraints(Dim dim, SWIGTYPE_p_NonOverlapConstraints nonOverlapConstraints, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.Cluster_generateNonOverlapConstraints(swigCPtr, (int)dim, SWIGTYPE_p_NonOverlapConstraints.getCPtr(nonOverlapConstraints), RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public void generateTopologyConstraints(Dim k, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.OrthogonalEdgeConstraint_generateTopologyConstraints(swigCPtr, (int)k, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public override void generateVariables(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars)
 {
     colaPINVOKE.DistributionConstraint_generateVariables(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #18
0
 public void createVars(Dim dim, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars)
 {
     colaPINVOKE.Cluster_createVars(swigCPtr, (int)dim, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }