Class 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      protected void finalize()  
      protected static long getCPtr​(KBranchingSchemeArray obj)  
      • 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 Detail

      • KBranchingSchemeArray

        protected KBranchingSchemeArray​(long cPtr,
                                        boolean cMemoryOwn)
      • KBranchingSchemeArray

        public KBranchingSchemeArray()
    • Method Detail

      • finalize

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

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