|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A HypercubeLimited that contains no variable and a single utility. More...

Public Member Functions | |
| ScalarHypercubeLimited (UL utility, UL infeasibleUtil, Class<? extends V[]> classOfDom) | |
| Constructor. | |
| ScalarHypercubeLimited< V, U, UL > | blindProject (String varOut, boolean maximize) |
| ScalarHypercubeLimited< V, U, UL > | blindProject (String[] varsOut, boolean maximize) |
| UL | blindProjectAll (boolean maximize) |
| ScalarHypercubeLimited< V, U, UL > | clone () |
| UtilitySolutionSpaceLimited< V, U, UL > | join (UtilitySolutionSpace< V, U > space) |
| UtilitySolutionSpaceLimited< V, U, UL > | max (String variable) |
| UtilitySolutionSpaceLimited< V, U, UL > | min (String variable) |
| ScalarHypercubeLimited< V, U, UL > | slice (String var, V val) |
| void | augment (V[] variablesValues, UL utilityValue) |
| ScalarHypercubeLimited< V, U, UL > | changeVariablesOrder (String[] variablesOrder) |
| BasicHypercube< V, UL > | compose (String[] vars, BasicUtilitySolutionSpace< V, ArrayList< V > > substitution) |
| boolean | equivalent (BasicUtilitySolutionSpace< V, UL > space) |
| Class< UL > | getClassOfU () |
| UL | getDefaultUtility () |
| UL | getUtility (V[] variablesValues) |
| UL | getUtility (String[] variablesNames, V[] variablesValues) |
| UL | getUtility (long index) |
| boolean | isIncludedIn (BasicUtilitySolutionSpace< V, UL > space) |
| BasicHypercube.Iterator< V, UL > | iterator (String[] variables, V[][] domains) |
| BasicHypercube.SparseIterator< V, UL > | sparseIter () |
| BasicHypercube.SparseIterator< V, UL > | sparseIter (String[] variables, V[][] domains) |
| String | prettyPrint (UL ignoredUtil) |
| ScalarHypercubeLimited< V, U, UL > | resolve () |
| ScalarHypercubeLimited< V, U, UL > | resolve (boolean sparse) |
| void | setDefaultUtility (UL utility) |
| boolean | setUtility (V[] variablesValues, UL utility) |
| void | setUtility (long index, UL utility) |
| ScalarHypercubeLimited< V, U, UL > | slice (String[] variablesNames, V[][] subDomains) |
| BasicUtilitySolutionSpace< V, UL > | slice (String[] variablesNames, V[] values) |
| BasicUtilitySolutionSpace< V, UL > | slice (String var, V[] subDomain) |
| BasicUtilitySolutionSpace< V, UL > | slice (V[] variablesValues) |
| void | augment (V[] variablesValues) |
| V[] | getDomain (String variable) |
| V[] | getDomain (int index) |
| V[] | getDomain (String variable, int index) |
| V[][] | getDomains () |
| int | getIndex (String variable) |
| String | getName () |
| long | getNumberOfSolutions () |
| int | getNumberOfVariables () |
| String | getRelationName () |
| String | getVariable (int index) |
| String[] | getVariables () |
| Iterator< V, UL > | iterator (String[] order) |
| SparseIterator< V, UL > | sparseIter (String[] order) |
| SolutionSpace< V > | join (SolutionSpace< V > space, String[] totalVariables) |
| SolutionSpace< V > | join (SolutionSpace< V > space) |
| SolutionSpace< V > | join (SolutionSpace< V >[] spaces, String[] totalVariablesOrder) |
| SolutionSpace< V > | join (SolutionSpace< V >[] spaces) |
| boolean | knows (Class<?> spaceClass) |
| ScalarHypercubeLimited< V, U, UL > | renameAllVars (String[] newVarNames) |
| void | renameVariable (String oldName, String newName) |
| void | setDomain (String var, V[] dom) |
| void | setName (String name) |
| void | setRelationName (String name) |
| Public Member Functions inherited from frodo2.solutionSpaces.hypercube.HypercubeLimited< V, U, UL > | |
| HypercubeLimited () | |
| Empty constructor. | |
| HypercubeLimited< V, U, UL > | resolve () |
| HypercubeLimited< V, U, UL > | clone () |
| UtilitySolutionSpaceLimited< V, U, UL > | joinMinNCCCs (UtilitySolutionSpace< V, U > space) |
| UtilitySolutionSpaceLimited< V, U, UL > | join (UtilitySolutionSpace< V, U > space) |
| UtilitySolutionSpaceLimited< V, U, UL > | blindProject (String varOut, boolean maximize) |
| UL | blindProjectAll (final boolean maximize) |
| UtilitySolutionSpaceLimited< V, U, UL > | min (String variable) |
| UtilitySolutionSpaceLimited< V, U, UL > | max (String variable) |
| HypercubeLimited< V, U, UL > | slice (String var, V val) |
Additional Inherited Members | |
| Protected Member Functions inherited from frodo2.solutionSpaces.hypercube.HypercubeLimited< V, U, UL > | |
| void | writeUtilities (ObjectOutput out) throws IOException |
| void | readUtilities (ObjectInput in) throws ClassNotFoundException, IOException, InvocationTargetException, NoSuchMethodException |
| HypercubeLimited< V, U, UL > | newInstance (String name, String[] new_variables, V[][] new_domains, UL[] new_values, UL infeasibleUtil) |
| HypercubeLimited< V, U, UL > | scalarHypercube (UL utility) |
A HypercubeLimited that contains no variable and a single utility.
| <V> | the type used for variable values |
| <U> | the type used for Addable utilities |
| <UL> | the type used for AddableLimited utilities |
| frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.ScalarHypercubeLimited | ( | UL | utility, |
| UL | infeasibleUtil, | ||
| Class<? extends V[]> | classOfDom ) |
Constructor.
| utility | the single utility value of this hypercube |
| infeasibleUtil | -INF if we are maximizing, +INF if we are minimizing |
| classOfDom | the class of V[] |
References ScalarHypercubeLimited().
Referenced by blindProject(), blindProject(), changeVariablesOrder(), clone(), renameAllVars(), resolve(), resolve(), ScalarHypercubeLimited(), slice(), and slice().

| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.augment | ( | V[] | variablesValues | ) |
| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.augment | ( | V[] | variablesValues, |
| UL | utilityValue ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.blindProject | ( | String | varOut, |
| boolean | maximize ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.blindProject | ( | String[] | varsOut, |
| boolean | maximize ) |
| UL frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.blindProjectAll | ( | boolean | maximize | ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.changeVariablesOrder | ( | String[] | variablesOrder | ) |
References ScalarHypercubeLimited().

| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.clone | ( | ) |
References ScalarHypercubeLimited().
Referenced by blindProject(), and blindProject().

| BasicHypercube< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.compose | ( | String[] | vars, |
| BasicUtilitySolutionSpace< V, ArrayList< V > > | substitution ) |
| boolean frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.equivalent | ( | BasicUtilitySolutionSpace< V, UL > | space | ) |
| Class< UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getClassOfU | ( | ) |
| UL frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getDefaultUtility | ( | ) |
| V[] frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getDomain | ( | int | index | ) |
| V[] frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getDomain | ( | String | variable | ) |
| V[] frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getDomain | ( | String | variable, |
| int | index ) |
| V[][] frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getDomains | ( | ) |
| int frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getIndex | ( | String | variable | ) |
| String frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getName | ( | ) |
| long frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getNumberOfSolutions | ( | ) |
| int frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getNumberOfVariables | ( | ) |
| String frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getRelationName | ( | ) |
| UL frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getUtility | ( | long | index | ) |
| UL frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getUtility | ( | String[] | variablesNames, |
| V[] | variablesValues ) |
| UL frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getUtility | ( | V[] | variablesValues | ) |
Referenced by blindProjectAll().
| String frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getVariable | ( | int | index | ) |
| String[] frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.getVariables | ( | ) |
| boolean frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.isIncludedIn | ( | BasicUtilitySolutionSpace< V, UL > | space | ) |
| Iterator< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.iterator | ( | String[] | order | ) |
| BasicHypercube.Iterator< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.iterator | ( | String[] | variables, |
| V | domains[][] ) |
| SolutionSpace< V > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join | ( | SolutionSpace< V > | space | ) |
| SolutionSpace< V > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join | ( | SolutionSpace< V > | space, |
| String[] | totalVariables ) |
| SolutionSpace< V > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join | ( | SolutionSpace< V >[] | spaces | ) |
| SolutionSpace< V > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join | ( | SolutionSpace< V >[] | spaces, |
| String[] | totalVariablesOrder ) |
| UtilitySolutionSpaceLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join | ( | UtilitySolutionSpace< V, U > | space | ) |
| boolean frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.knows | ( | Class<?> | spaceClass | ) |
| UtilitySolutionSpaceLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.max | ( | String | variable | ) |
| UtilitySolutionSpaceLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.min | ( | String | variable | ) |
| String frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.prettyPrint | ( | UL | ignoredUtil | ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.renameAllVars | ( | String[] | newVarNames | ) |
References ScalarHypercubeLimited().

| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.renameVariable | ( | String | oldName, |
| String | newName ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.resolve | ( | ) |
References resolve(), and ScalarHypercubeLimited().
Referenced by resolve().

| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.resolve | ( | boolean | sparse | ) |
References ScalarHypercubeLimited().

| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setDefaultUtility | ( | UL | utility | ) |
| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setDomain | ( | String | var, |
| V[] | dom ) |
| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setName | ( | String | name | ) |
| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setRelationName | ( | String | name | ) |
| void frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setUtility | ( | long | index, |
| UL | utility ) |
| boolean frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.setUtility | ( | V[] | variablesValues, |
| UL | utility ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.slice | ( | String | var, |
| V | val ) |
References ScalarHypercubeLimited().

| BasicUtilitySolutionSpace< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.slice | ( | String | var, |
| V[] | subDomain ) |
| BasicUtilitySolutionSpace< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.slice | ( | String[] | variablesNames, |
| V[] | values ) |
| ScalarHypercubeLimited< V, U, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.slice | ( | String[] | variablesNames, |
| V | subDomains[][] ) |
References ScalarHypercubeLimited().

| BasicUtilitySolutionSpace< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.slice | ( | V[] | variablesValues | ) |
| BasicHypercube.SparseIterator< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.sparseIter | ( | ) |
| SparseIterator< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.sparseIter | ( | String[] | order | ) |
| BasicHypercube.SparseIterator< V, UL > frodo2.solutionSpaces.hypercube.ScalarHypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.sparseIter | ( | String[] | variables, |
| V | domains[][] ) |