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 Table
Table. add(int[]... tuples)
Adds the specified integer tuples to the table.Table
Table. add(int val, int... otherVals)
Adds an integer tuple to the table.Table
Table. add(String s)
Adds the tuples obtained after parsing the specified string.Table
Table. add(Collection<int[]> tuples)
Adds all tuples of the specified collection to the table.Table
Table. add(java.util.stream.Stream<int[]> stream)
Adds all tuples of the specified stream to the table.Table
Table. add(Table table)
Adds all tuples of the specified table to this table.Table
Table. addColumnWithValue(int position, int value)
Table
Table. addFrom(Range.Rangesx2 r2, java.util.function.BiFunction<Integer,Integer,int[]> f)
Table
Table. addFrom(Range r, java.util.function.Function<Integer,int[]> f)
Table
Table. intersectionWith(Table other)
Table
Table. positive(Boolean positive)
Methods in org.xcsp.common.structures with parameters of type Table Modifier and Type Method Description Table
Table. add(Table table)
Adds all tuples of the specified table to this table.Table
Table. 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 Table
ProblemAPIBase. table()
Builds an empty integer table that can be fed with tuples.default Table
ProblemAPIBase. 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 Table
ProblemAPIBase. table(int[]... tuples)
Builds an integer table containing the specified tuples.default Table
ProblemAPIBase. table(int value, int... otherValues)
Builds an integer table containing the specified tuple.default Table
ProblemAPIBase. table(String tuples)
Builds an integer table after parsing the specified string.default Table
ProblemAPIBase. table(Collection<int[]> collection)
Builds an integer table containing the specified tuples.default Table
ProblemAPIBase. table(java.util.stream.Stream<int[]> stream)
Builds an integer table containing the specified tuples.default Table
ProblemAPIBase. table(Table table)
Builds an integer table containing all tuples from the specified table.default Table
ProblemAPIBase. tableIntersection(Table table1, Table table2)
Returns a table corresponding to the intersection of the two specified tablesdefault Table
ProblemAPIBase. 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.CtrEntity
ProblemAPI. extension(IVar.Var[] scp, Table table)
Builds a constraintextension
from the specified scope and the specified table, whose elements are seen as supports.default CtrEntities.CtrEntity
ProblemAPI. extension(IVar.Var x, Table table)
Builds a unary constraintextension
from the specified variable and the specified table.default Table
ProblemAPIBase. table(Table table)
Builds an integer table containing all tuples from the specified table.default Table
ProblemAPIBase. tableIntersection(Table table1, Table table2)
Returns a table corresponding to the intersection of the two specified tablesdefault Table
ProblemAPIBase. tableWithNewColumn(Table table, int position, int value)
Returns a new integer table obtained after adding a new column at the specified table.
-