FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > > Class Template Reference

Wrapper around the XCSPparserVRP that inserts CompoundSpaces for all the variables that occur in the problem. More...

Inheritance diagram for frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > >:

Public Member Functions

 XCSPparserVRPODPOP (Document doc)
 Constructor from a JDOM Document in XCSP format.
 XCSPparserVRPODPOP (Document doc, Element params)
 Constructor.
List< ? extends UtilitySolutionSpace< AddableInteger, U > > getSolutionSpaces ()
List< ? extends UtilitySolutionSpace< AddableInteger, U > > getSolutionSpaces (String var)
Public Member Functions inherited from frodo2.benchmarks.vehiclerouting.XCSPparserVRP< U >
 XCSPparserVRP (Document doc)
 Constructor from a JDOM Document in XCSP format.
XCSPparserVRP< U > getSubProblem (String agent)
void setUtilClass (Class< U > utilClass)
void rescale (U multiply, U add)

Protected Member Functions

 XCSPparserVRPODPOP (Element instance, boolean countNCCCs, boolean extendedRandNeighborhoods, HashSet< String > spacesToIgnoreNcccs, boolean mpc)
 Constructor from a JDOM root Element in XCSP format.
XCSPparserVRPODPOP< U > newInstance (Element instance)
Protected Member Functions inherited from frodo2.benchmarks.vehiclerouting.XCSPparserVRP< U >
XCSPparserVRP< U > newInstance (Element instance)
void foundUndefinedRelations (HashSet< String > relationNames)
void parseConstraint (ArrayList< UtilitySolutionSpace< AddableInteger, U > > spaces, Element constraint, HashMap< String, AddableInteger[]> variablesHashMap, HashMap< String, Relation< AddableInteger, U > > relationInfos, Set< String > vars, final boolean getProbs, final boolean withAnonymVars, U infeasibleUtil, Set< String > forbiddenVars, DCOPProblemInterface< AddableInteger, U > problem)

Detailed Description

Wrapper around the XCSPparserVRP that inserts CompoundSpaces for all the variables that occur in the problem.

Author
Brammert Ottens, 28 apr 2010
Parameters
<U>type of utility values

Constructor & Destructor Documentation

◆ XCSPparserVRPODPOP() [1/3]

Constructor from a JDOM Document in XCSP format.

Parameters
docthe JDOM Document in XCSP format

Referenced by newInstance().

◆ XCSPparserVRPODPOP() [2/3]

frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > >.XCSPparserVRPODPOP ( Document doc,
Element params )

Constructor.

Parameters
docthe JDOM Document in XCSP format
paramsthe parameters of the solver

◆ XCSPparserVRPODPOP() [3/3]

frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > >.XCSPparserVRPODPOP ( Element instance,
boolean countNCCCs,
boolean extendedRandNeighborhoods,
HashSet< String > spacesToIgnoreNcccs,
boolean mpc )
protected

Constructor from a JDOM root Element in XCSP format.

Parameters
instancethe JDOM root Element in XCSP format
countNCCCsWhether to count constraint checks
extendedRandNeighborhoodswhether we want extended random neighborhoods
spacesToIgnoreNcccslist of spaces for which NCCCs should NOT be counted
mpcWhether to behave in MPC mode

Member Function Documentation

◆ getSolutionSpaces() [1/2]

◆ getSolutionSpaces() [2/2]

List< ? extends UtilitySolutionSpace< AddableInteger, U > > frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > >.getSolutionSpaces ( String var)

◆ newInstance()

XCSPparserVRPODPOP< U > frodo2.benchmarks.vehiclerouting.XCSPparserVRPODPOP< U extends Addable< U > >.newInstance ( Element instance)
protected
See also
XCSPparserVRP.newInstance(org.jdom2.Element)

References XCSPparserVRPODPOP().

Here is the call graph for this function:

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