Пример #1
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();
     }
 }
 public override void generateSeparationConstraints(SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t gcs)
 {
     colaPINVOKE.DistributionConstraint_generateSeparationConstraints(swigCPtr, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(gcs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #3
0
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #4
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();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #6
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();
     }
 }
Пример #7
0
 public static void generateXConstraints(RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs, bool useNeighbourLists)
 {
     colaPINVOKE.generateXConstraints(RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs), useNeighbourLists);
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
 public static void generateVariablesAndConstraints(CompoundConstraintsVector ccs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateVariablesAndConstraints(CompoundConstraintsVector.getCPtr(ccs), 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();
     }
 }
Пример #9
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();
 }
Пример #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();
     }
 }
 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();
 }
Пример #12
0
 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();
     }
 }
Пример #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();
 }