Package util.objects.setDataStructures.swapList

Examples of util.objects.setDataStructures.swapList.Set_Std_Swap_Array


        super(vars_, PropagatorPriority.LINEAR, false);
        str2vars = new str2_var[table[0].length];
        for (int i = 0; i < table[0].length; i++) {
            str2vars[i] = new str2_var(solver.getEnvironment(), vars_[i], i, table);
        }
        tuples = new Set_Std_Swap_Array(solver.getEnvironment(), table.length);
        Ssup = new ArrayList<>();
        Sval = new ArrayList<>();
        this.table = table;
    }
View Full Code Here


    public static ISet makeStoredSet(SetType type, int maximumSize, Solver solver) {
    IEnvironment environment = solver.getEnvironment();
        if (HARD_CODED)
            switch (type) {
                case BIPARTITESET:
                    return new Set_Std_Swap_Array(environment, maximumSize);
                case SWAP_HASH:
                    return new Set_Std_Swap_Hash(environment, maximumSize);
                case LINKED_LIST:
          if(RECYCLE)
            return new Set_Std_LinkedList(environment);
View Full Code Here

TOP

Related Classes of util.objects.setDataStructures.swapList.Set_Std_Swap_Array

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.