Uses of Class
org.xcsp.common.structures.Table
-
Packages that use Table Package Description org.xcsp.common.structures org.xcsp.modeler.api -
-
Uses of Table in org.xcsp.common.structures
Methods in org.xcsp.common.structures that return Table Modifier and Type Method Description TableTable. add(int[]... tuples)Adds the specified integer tuples to the table.TableTable. add(int val, int... otherVals)Adds an integer tuple to the table.TableTable. add(String s)Adds the tuples obtained after parsing the specified string.TableTable. add(Collection<int[]> tuples)Adds all tuples of the specified collection to the table.TableTable. add(java.util.stream.Stream<int[]> stream)Adds all tuples of the specified stream to the table.TableTable. add(Table table)Adds all tuples of the specified table to this table.TableTable. addColumnWithValue(int position, int value)TableTable. addFrom(Range.Rangesx2 r2, java.util.function.BiFunction<Integer,Integer,int[]> f)TableTable. addFrom(Range r, java.util.function.Function<Integer,int[]> f)TableTable. intersectionWith(Table other)TableTable. positive(Boolean positive)Methods in org.xcsp.common.structures with parameters of type Table Modifier and Type Method Description TableTable. add(Table table)Adds all tuples of the specified table to this table.TableTable. intersectionWith(Table other) -
Uses of Table in org.xcsp.modeler.api
Methods in org.xcsp.modeler.api that return Table Modifier and Type Method Description default TableProblemAPIBase. table()Builds an empty integer table that can be fed with tuples.default TableProblemAPIBase. table(boolean positive)Builds an empty integer table which is either positive (i.e, contains supports) or negative (i.e., contains conflicts) depending on the specified Boolean value.default TableProblemAPIBase. table(int[]... tuples)Builds an integer table containing the specified tuples.default TableProblemAPIBase. table(int value, int... otherValues)Builds an integer table containing the specified tuple.default TableProblemAPIBase. table(String tuples)Builds an integer table after parsing the specified string.default TableProblemAPIBase. table(Collection<int[]> collection)Builds an integer table containing the specified tuples.default TableProblemAPIBase. table(java.util.stream.Stream<int[]> stream)Builds an integer table containing the specified tuples.default TableProblemAPIBase. table(Table table)Builds an integer table containing all tuples from the specified table.default TableProblemAPIBase. tableIntersection(Table table1, Table table2)Returns a table corresponding to the intersection of the two specified tablesdefault TableProblemAPIBase. tableWithNewColumn(Table table, int position, int value)Returns a new integer table obtained after adding a new column at the specified table.Methods in org.xcsp.modeler.api with parameters of type Table Modifier and Type Method Description default CtrEntities.CtrEntityProblemAPI. extension(IVar.Var[] scp, Table table)Builds a constraintextensionfrom the specified scope and the specified table, whose elements are seen as supports.default CtrEntities.CtrEntityProblemAPI. extension(IVar.Var x, Table table)Builds a unary constraintextensionfrom the specified variable and the specified table.default TableProblemAPIBase. table(Table table)Builds an integer table containing all tuples from the specified table.default TableProblemAPIBase. tableIntersection(Table table1, Table table2)Returns a table corresponding to the intersection of the two specified tablesdefault TableProblemAPIBase. tableWithNewColumn(Table table, int position, int value)Returns a new integer table obtained after adding a new column at the specified table.
-