FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > > Class Template Reference

Class representing a NULL hypercube. More...

Inheritance diagram for frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >:

Public Member Functions

 NullHypercube ()
 Constructor only used internally for externalization.
long getNumberOfSolutions ()
 Always returns 0.
U getUtility (V[] variables_values)
 Always returns null.
U getUtility (String[] variables_names, V[] variables_values)
 Always returns null.
U getUtility (long index)
 Always returns null.
boolean setUtility (V[] variables_values, U utility)
 Does nothing.
void setUtility (long index, U utility)
 Does nothing.
String[] getVariables ()
 Always returns null.
int getNumberOfVariables ()
 Always returns 0.
String getVariable (int index)
 Always returns null.
void renameVariable (String oldName, String newName)
 Does nothing.
NullHypercube< V, U > renameAllVars (String[] newVarNames)
int getIndex (String variable)
 Always returns -1.
V[][] getDomains ()
 Always returns null.
V[] getDomain (String variable)
 Always returns null.
V[] getDomain (int index)
 Always returns null.
V[] getDomain (String variable, int index)
 Always returns null.
void setDomain (String var, V[] dom)
 Does nothing.
String toString ()
void saveAsXML (String file)
Hypercube.NullHypercube< V, U > join (UtilitySolutionSpace< V, U > hypercube, boolean addition, boolean minNCCCs)
 Always returns NULL.
Hypercube.NullHypercube< V, U > join (UtilitySolutionSpace< V, U > hypercube, String[] total_variables)
 Always returns NULL.
Hypercube.NullHypercube< V, U > join (UtilitySolutionSpace< V, U > hypercube)
 Always returns NULL.
Hypercube.NullHypercube< V, U > multiply (UtilitySolutionSpace< V, U > space, String[] total_variables)
 Always returns NULL.
Hypercube.NullHypercube< V, U > multiply (UtilitySolutionSpace< V, U > space)
 Always returns NULL.
ProjOutput< V, U > project (String[] variables_names, boolean maximum)
 Always returns NULL for the resulting hypercube, and for the optimal assignments.
ProjOutput< V, U > project (String variable_name, boolean maximum)
 Always returns NULL for the resulting hypercube, and for the optimal assignments.
ProjOutput< V, U > project (int number_to_project, boolean maximum)
 Always returns NULL for the resulting hypercube, and for the optimal assignments.
ProjOutput< V, U > projectAll (boolean maximum)
 Always returns NULL for the resulting hypercube, and for the optimal assignments.
Hypercube.NullHypercube< V, U > blindProject (String varOut, boolean maximize)
Hypercube.NullHypercube< V, U > blindProject (String[] varsOut, boolean maximize)
U blindProjectAll (boolean maximize)
Hypercube.NullHypercube< V, U > min (String var)
Hypercube.NullHypercube< V, U > max (String var)
Hypercube.NullHypercube< V, U > slice (String var, V val)
 Always returns NULL.
Hypercube.NullHypercube< V, U > slice (String[] variables_names, V[][] sub_domains)
 Always returns NULL.
Hypercube.NullHypercube< V, U > slice (V[] variables_values)
 Always returns NULL.
Hypercube.NullHypercube< V, U > compose (String[] vars, BasicUtilitySolutionSpace< V, ArrayList< V > > substitution)
 Always returns NULL.
Hypercube.NullHypercube< V, U > split (U threshold, boolean maximum)
 Always returns NULL.
Hypercube.NullHypercube< V, U > changeVariablesOrder (String[] variables_order)
 Always returns NULL.
boolean equivalent (BasicUtilitySolutionSpace< V, U > hypercube)
boolean equals (Object hypercube)
Hypercube.NullHypercube< V, U > clone ()
 Always returns NULL.
HypercubeIter< V, U > iterator ()
HypercubeIter< V, U > iterator (String[] order)
HypercubeIter< V, U > iterator (String[] variables, V[][] domains)
HypercubeIter< V, U > iterator (String[] variables, V[][] domains, V[] assignment)
HypercubeIter< V, U > sparseIter ()
HypercubeIter< V, U > sparseIter (String[] order)
HypercubeIter< V, U > sparseIter (String[] variables, V[][] domains)
HypercubeIter< V, U > sparseIter (String[] variables, V[][] domains, V[] assignment)
void augment (V[] variables_values)
 Does nothing.
Hypercube.NullHypercube< V, U > join (SolutionSpace< V > space, String[] total_variables)
 Always returns NULL.
Hypercube.NullHypercube< V, U > join (SolutionSpace< V > space)
 Always returns NULL.
Hypercube.NullHypercube< V, U > join (SolutionSpace< V >[] spaces, String[] total_variables_order)
 Always returns NULL.
boolean isIncludedIn (UtilitySolutionSpace< V, U > space)
 Always returns false.
Hypercube.NullHypercube< V, U > expectation (Map< String, UtilitySolutionSpace< V, U > > distributions)
 Always returns NULL.
Map< V, Double > sample (int nbrSamples)
 Returns an empty sample set.
U getDefaultUtility ()
 Returns null.
void setDefaultUtility (U utility)
 Does nothing.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
Public Member Functions inherited from frodo2.solutionSpaces.hypercube.Hypercube< V, U >
 Hypercube ()
 Empty Hypercube constructor.
void saveAsXML (String file)
 Creates an XML file from the hypercube.
U getUtility (String[] variables_names, V[] variables_values)
UtilitySolutionSpace< V, U > joinMinNCCCs (UtilitySolutionSpace< V, U > space)
UtilitySolutionSpace< V, U > multiply (UtilitySolutionSpace< V, U > space, String[] total_variables)
Hypercube< V, U > slice (String[] variables_names, V[][] sub_domains)
UtilitySolutionSpace< V, U > applyJoin (UtilitySolutionSpace< V, U > space, String[] total_variables)
 Joins this hypercube with the provided hypercube if the utility values array is big enough, this hypercube is modified into the new hypercube, otherwise a new hypercube is created.
ProjOutput< V, U > consensus (final String varOut, final Map< String, UtilitySolutionSpace< V, U > > distributions, final boolean maximum)
ProjOutput< V, U > consensusAllSols (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
ProjOutput< V, U > consensusExpect (final String varOut, final Map< String, UtilitySolutionSpace< V, U > > distributions, final boolean maximum)
ProjOutput< V, U > consensusAllSolsExpect (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
UtilitySolutionSpace.ProjOutput< V, U > project (String[] varsOut, final boolean maximum)
 Returns a Hypercube obtained by projecting some of the variables of the hypercube.
UtilitySolutionSpace< V, U > blindProject (String varOut, boolean maximize)
U blindProjectAll (final boolean maximize)
Hypercube< V, U > min (String var)
Hypercube< V, U > max (String var)
ProjOutput< V, U > projectAll (boolean maximum)
UtilitySolutionSpace.ProjOutput< V, U > applyProject (String[] variables_names, final boolean maximum)
 Returns a Hypercube obtained by projecting some of the variables of the hypercube this version of project does not create a new hypercube but directly modifies the current utility array.
Hypercube< V, U > split (U threshold, boolean maximum)
 Returns a Hypercube containing variables values corresponding to utility values bigger than the provided threshold.
UtilitySolutionSpace< V, U > expectation (Map< String, UtilitySolutionSpace< V, U > > distributions)
ProjOutput< V, U > projExpectMonotone (final String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, final boolean maximum)
Map< V, Double > sample (int nbrSamples)
Hypercube< V, U > changeVariablesOrder (String[] variables_order)
boolean equals (Object o)
 Checks if this hypercube equals the one provided as a parameter (including the order of variables).
Hypercube< V, U > clone ()
Hypercube< V, U > resolve ()
Hypercube< V, U > toHypercube ()
boolean isIncludedIn (UtilitySolutionSpace< V, U > space)
UtilitySolutionSpace< V, U > compose (String[] varsOut, BasicUtilitySolutionSpace< V, ArrayList< V > > substitution)
UtilitySolutionSpace.IteratorBestFirst< V, U > iteratorBestFirst (boolean maximize)
UtilitySolutionSpace.Iterator< V, U > iterator ()
UtilitySolutionSpace.SparseIterator< V, U > sparseIter ()
UtilitySolutionSpace< V, U > rescale (U add, U multiply)

Static Public Attributes

static final NullHypercube NULL = new NullHypercube()
 The singleton NULL hypercube.

Protected Member Functions

Hypercube.NullHypercube< V, U > join (UtilitySolutionSpace< V, U > hypercube, String[] total_variables, boolean addition, boolean minNCCCs)
 Always returns NULL.
Hypercube.NullHypercube< V, U > join (UtilitySolutionSpace< V, U >[] spaces, final boolean addition, boolean minNCCCs)
 Always returns NULL.
NullHypercube< V, U > newInstance (String name, String[] new_variables, V[][] new_domains, U[] new_values, U infeasibleUtil)
 Always returns NULL.
ProjOutput< V, U > consensus (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum, boolean allSolutions, boolean expect)
 Always returns NULL for the resulting hypercube, and for the optimal assignments.
Object readResolve ()
 Method to deserialize the object in such a way that the singleton property is retained.
Protected Member Functions inherited from frodo2.solutionSpaces.hypercube.Hypercube< V, U >
UtilitySolutionSpace< V, U > join (UtilitySolutionSpace< V, U > utilitySpace, String[] outputVars, final boolean addition, final boolean minNCCCs)
 Returns a Hypercube object obtained by joining this hypercube with the one provided as a parameter.
ScalarHypercube< V, U > scalarHypercube (U utility)
Hypercube< V, U > newInstance (String name, String[] new_variables, V[][] new_domains, U[] new_values, U infeasibleUtil)
UtilitySolutionSpace.Iterator< V, U > newIter (String[] variables, V[][] domains, V[] assignment, U skippedUtil)

Package Functions

void setStepsHashmaps ()
 Does nothing.

Additional Inherited Members

Static Public Member Functions inherited from frodo2.solutionSpaces.hypercube.Hypercube< V, U >
static String[] union (String[] list1, String[] list2)
 Computes the union of two lists, perserving the order when possible.

Detailed Description

Class representing a NULL hypercube.

Author
Ouaret Nacereddine, Thomas Leaute, Radoslaw Szymanek
Parameters
<V>type used for the variable values
<U>type used for the utility values

Constructor & Destructor Documentation

◆ NullHypercube()

frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube ( )

Constructor only used internally for externalization.

Use the singleton NullHypercube.NULL if needed.

References NullHypercube().

Referenced by newInstance(), NullHypercube(), and renameAllVars().

Here is the call graph for this function:

Member Function Documentation

◆ augment()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.augment ( V[] variables_values)

Does nothing.

See also
BasicHypercube#augment(Addable[])

◆ blindProject() [1/2]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.blindProject ( String varOut,
boolean maximize )
See also
Hypercube.blindProject(java.lang.String, boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ blindProject() [2/2]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.blindProject ( String[] varsOut,
boolean maximize )
See also
Hypercube.blindProject(java.lang.String[], boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ blindProjectAll()

U frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.blindProjectAll ( boolean maximize)

◆ changeVariablesOrder()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.changeVariablesOrder ( String[] variables_order)

Always returns NULL.

See also
Hypercube.changeVariablesOrder(java.lang.String[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ clone()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.clone ( )

Always returns NULL.

See also
Hypercube.clone()

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ compose()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.compose ( String[] vars,
BasicUtilitySolutionSpace< V, ArrayList< V > > substitution )

Always returns NULL.

See also
BasicHypercube.compose(java.lang.String[], BasicUtilitySolutionSpace)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ consensus()

ProjOutput< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.consensus ( String varOut,
Map< String, UtilitySolutionSpace< V, U > > distributions,
boolean maximum,
boolean allSolutions,
boolean expect )
protected

Always returns NULL for the resulting hypercube, and for the optimal assignments.

See also
Hypercube.consensus(java.lang.String, java.util.Map, boolean, boolean, boolean)

References NULL.

◆ equals()

boolean frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.equals ( Object hypercube)
See also
Hypercube.equals(Object)

References NULL.

◆ equivalent()

boolean frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.equivalent ( BasicUtilitySolutionSpace< V, U > hypercube)
See also
Hypercube#equivalent(BasicUtilitySolutionSpace)

References NULL.

◆ expectation()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.expectation ( Map< String, UtilitySolutionSpace< V, U > > distributions)

Always returns NULL.

See also
Hypercube.expectation(java.util.Map)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ getDefaultUtility()

U frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getDefaultUtility ( )

Returns null.

See also
BasicHypercube.getDefaultUtility()

◆ getDomain() [1/3]

V[] frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getDomain ( int index)

Always returns null.

See also
BasicHypercube.getDomain(int)

◆ getDomain() [2/3]

V[] frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getDomain ( String variable)

Always returns null.

See also
BasicHypercube.getDomain(java.lang.String)

◆ getDomain() [3/3]

V[] frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getDomain ( String variable,
int index )

Always returns null.

See also
BasicHypercube.getDomain(java.lang.String, int)

◆ getDomains()

V[][] frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getDomains ( )

Always returns null.

See also
BasicHypercube.getDomains()

◆ getIndex()

int frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getIndex ( String variable)

Always returns -1.

See also
BasicHypercube.getIndex(java.lang.String)

◆ getNumberOfSolutions()

long frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getNumberOfSolutions ( )

Always returns 0.

See also
BasicHypercube.getNumberOfSolutions()

◆ getNumberOfVariables()

int frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getNumberOfVariables ( )

Always returns 0.

See also
BasicHypercube.getNumberOfVariables()

◆ getUtility() [1/3]

U frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getUtility ( long index)

Always returns null.

See also
BasicHypercube.getUtility(long)

◆ getUtility() [2/3]

U frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getUtility ( String[] variables_names,
V[] variables_values )

Always returns null.

See also
BasicHypercube.getUtility(java.lang.String[], Addable[])

◆ getUtility() [3/3]

U frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getUtility ( V[] variables_values)

Always returns null.

See also
BasicHypercube#getUtility(Addable[])

◆ getVariable()

String frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getVariable ( int index)

Always returns null.

See also
BasicHypercube.getVariable(int)

◆ getVariables()

String[] frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.getVariables ( )

Always returns null.

See also
BasicHypercube.getVariables()

◆ isIncludedIn()

boolean frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.isIncludedIn ( UtilitySolutionSpace< V, U > space)

Always returns false.

See also
Hypercube#isIncludedIn(UtilitySolutionSpace)

◆ iterator() [1/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.iterator ( )
See also
Hypercube.iterator()
Todo
Auto-generated method stub

◆ iterator() [2/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.iterator ( String[] order)
See also
Hypercube.iterator(String[])
Todo
Auto-generated method stub

◆ iterator() [3/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.iterator ( String[] variables,
V domains[][] )
See also
BasicHypercube#iterator(String[], Addable[][])
Todo
Auto-generated method stub

◆ iterator() [4/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.iterator ( String[] variables,
V domains[][],
V[] assignment )
See also
Hypercube.iterator(java.lang.String[], Addable[][], Addable[])
Todo
Auto-generated method stub

◆ join() [1/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( SolutionSpace< V > space)

Always returns NULL.

See also
BasicHypercube#join(SolutionSpace)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [2/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( SolutionSpace< V > space,
String[] total_variables )

Always returns NULL.

See also
Hypercube.join(SolutionSpace, java.lang.String[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [3/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( SolutionSpace< V >[] spaces,
String[] total_variables_order )

Always returns NULL.

See also
BasicHypercube.join(SolutionSpace[], java.lang.String[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [4/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( UtilitySolutionSpace< V, U > hypercube)

Always returns NULL.

See also
Hypercube#join(UtilitySolutionSpace)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [5/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( UtilitySolutionSpace< V, U > hypercube,
boolean addition,
boolean minNCCCs )

Always returns NULL.

See also
Hypercube#join(UtilitySolutionSpace, boolean, boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [6/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( UtilitySolutionSpace< V, U > hypercube,
String[] total_variables )

Always returns NULL.

See also
Hypercube.join(UtilitySolutionSpace, java.lang.String[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [7/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( UtilitySolutionSpace< V, U > hypercube,
String[] total_variables,
boolean addition,
boolean minNCCCs )
protected

Always returns NULL.

See also
Hypercube.join(UtilitySolutionSpace, java.lang.String[], boolean, boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ join() [8/8]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.join ( UtilitySolutionSpace< V, U >[] spaces,
final boolean addition,
boolean minNCCCs )
protected

Always returns NULL.

See also
Hypercube#join(UtilitySolutionSpace[], boolean, boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ max()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.max ( String var)
See also
Hypercube.max(java.lang.String)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ min()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.min ( String var)
See also
Hypercube.min(java.lang.String)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ multiply() [1/2]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.multiply ( UtilitySolutionSpace< V, U > space)

Always returns NULL.

See also
Hypercube#multiply(UtilitySolutionSpace)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ multiply() [2/2]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.multiply ( UtilitySolutionSpace< V, U > space,
String[] total_variables )

Always returns NULL.

See also
Hypercube.multiply(UtilitySolutionSpace, java.lang.String[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ newInstance()

NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.newInstance ( String name,
String[] new_variables,
V new_domains[][],
U[] new_values,
U infeasibleUtil )
protected

Always returns NULL.

See also
Hypercube.newInstance(String, java.lang.String[], Addable[][], Addable[], Addable)

References NULL, and NullHypercube().

Referenced by frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.join().

Here is the call graph for this function:

◆ project() [1/3]

ProjOutput< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.project ( int number_to_project,
boolean maximum )

Always returns NULL for the resulting hypercube, and for the optimal assignments.

See also
Hypercube.project(int, boolean)

References NULL.

◆ project() [2/3]

ProjOutput< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.project ( String variable_name,
boolean maximum )

Always returns NULL for the resulting hypercube, and for the optimal assignments.

See also
Hypercube.project(java.lang.String, boolean)

References NULL.

◆ project() [3/3]

ProjOutput< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.project ( String[] variables_names,
boolean maximum )

Always returns NULL for the resulting hypercube, and for the optimal assignments.

See also
Hypercube.project(java.lang.String[], boolean)

References NULL.

◆ projectAll()

ProjOutput< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.projectAll ( boolean maximum)

Always returns NULL for the resulting hypercube, and for the optimal assignments.

See also
Hypercube.projectAll(boolean)

References NULL.

◆ readExternal()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

◆ readResolve()

Object frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.readResolve ( )
protected

Method to deserialize the object in such a way that the singleton property is retained.

Returns
singleton object

References NULL.

◆ renameAllVars()

NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.renameAllVars ( String[] newVarNames)
See also
BasicHypercube.renameAllVars(String[])

References NullHypercube().

Here is the call graph for this function:

◆ renameVariable()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.renameVariable ( String oldName,
String newName )

◆ sample()

Map< V, Double > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.sample ( int nbrSamples)

Returns an empty sample set.

See also
Hypercube.sample(int)

◆ saveAsXML()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.saveAsXML ( String file)
See also
Hypercube.saveAsXML(java.lang.String)

References frodo2.output.

◆ setDefaultUtility()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.setDefaultUtility ( U utility)

Does nothing.

See also
BasicHypercube.setDefaultUtility(java.io.Serializable)

◆ setDomain()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.setDomain ( String var,
V[] dom )

Does nothing.

See also
BasicHypercube#setDomain(String, Addable[])

◆ setStepsHashmaps()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.setStepsHashmaps ( )
package

Does nothing.

See also
BasicHypercube.setStepsHashmaps()

◆ setUtility() [1/2]

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.setUtility ( long index,
U utility )

Does nothing.

See also
BasicHypercube.setUtility(long, java.io.Serializable)

◆ setUtility() [2/2]

boolean frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.setUtility ( V[] variables_values,
U utility )

Does nothing.

See also
BasicHypercube.setUtility(Addable[], java.io.Serializable)

◆ slice() [1/3]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.slice ( String var,
V val )

Always returns NULL.

See also
Hypercube.slice(java.lang.String, Addable)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ slice() [2/3]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.slice ( String[] variables_names,
V sub_domains[][] )

Always returns NULL.

See also
Hypercube.slice(java.lang.String[], Addable[][])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ slice() [3/3]

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.slice ( V[] variables_values)

Always returns NULL.

See also
Hypercube#slice(Addable[])

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ sparseIter() [1/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.sparseIter ( )
See also
Hypercube.sparseIter()
Todo
Auto-generated method stub

◆ sparseIter() [2/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.sparseIter ( String[] order)
See also
Hypercube.sparseIter(String[])
Todo
Auto-generated method stub

◆ sparseIter() [3/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.sparseIter ( String[] variables,
V domains[][] )
See also
BasicHypercube#sparseIter(String[], Addable[][])
Todo
Auto-generated method stub

◆ sparseIter() [4/4]

HypercubeIter< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.sparseIter ( String[] variables,
V domains[][],
V[] assignment )
See also
Hypercube.sparseIter(java.lang.String[], Addable[][], Addable[])
Todo
Auto-generated method stub

◆ split()

Hypercube.NullHypercube< V, U > frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.split ( U threshold,
boolean maximum )

Always returns NULL.

See also
Hypercube#split(Addable, boolean)

References frodo2.solutionSpaces.hypercube.Hypercube< V, U >.Hypercube(), and NULL.

Here is the call graph for this function:

◆ toString()

String frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.toString ( )

◆ writeExternal()

void frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

Member Data Documentation

◆ NULL

final NullHypercube frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.NullHypercube< V extends Addable< V >, U extends Addable< U > >.NULL = new NullHypercube()
static

The singleton NULL hypercube.

Referenced by frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.addSolutionSpace(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.applyJoin(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.applyProject(), blindProject(), blindProject(), changeVariablesOrder(), clone(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.compose(), compose(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.consensus(), consensus(), equals(), equivalent(), expectation(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.isNull(), frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.iterator(), frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.iteratorBestFirst(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.join(), join(), join(), join(), join(), join(), join(), join(), join(), frodo2.solutionSpaces.hypercube.HypercubeLimited< V extends Addable< V >, U extends Addable< U >, UL extends AddableLimited< U, UL >.join(), frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.join(), max(), min(), multiply(), multiply(), newInstance(), project(), project(), project(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.project(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.project(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.project(), projectAll(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.projExpectMonotone(), readResolve(), frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.rescale(), slice(), slice(), slice(), split(), frodo2.solutionSpaces.hypercube.Hypercube< V extends Addable< V >, U extends Addable< U > >.split(), frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testConsensusWeighted(), and frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testSerializationNullHypercube().


The documentation for this class was generated from the following file: