Class KBranchingSchemeArray

java.lang.Object
com.artelys.kalis.branchingschemearray
com.artelys.kalis.KBranchingSchemeArray

public class KBranchingSchemeArray extends com.artelys.kalis.branchingschemearray
This class implements an array of KBranchingScheme

Example :

KBranchingSchemeArray myStrategy;

// First solve all the disjunctions in the problem
myStrategy += KSettleDisjunction();
// then assign each remaining non bound variable by assigning values in
// decreasing order to variables ordered by increasing size of domain
myStrategy += KAssignVar(KSmallestDomain(),KMaxToMin());



Since:
2016.1
See Also:
KValueSelector KVariableSelector
  • Field Summary

    Fields inherited from class com.artelys.kalis.branchingschemearray

    swigCMemOwn
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    KBranchingSchemeArray​(long cPtr, boolean cMemoryOwn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    protected static long
     

    Methods inherited from class com.artelys.kalis.branchingschemearray

    add, add, check, emptyAndDelete, getCopyPtr, getCPtr, getElt, getNumberOfElements, initializeAsEmptyList, initializeListWithVa_list, insert, insert, isEmpty, makeList, print, removeLastElement, replace, replace

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KBranchingSchemeArray

      protected KBranchingSchemeArray(long cPtr, boolean cMemoryOwn)
    • KBranchingSchemeArray

      public KBranchingSchemeArray()
  • Method Details

    • getCPtr

      protected static long getCPtr(KBranchingSchemeArray obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class com.artelys.kalis.branchingschemearray
    • delete

      public void delete()
      Overrides:
      delete in class com.artelys.kalis.branchingschemearray