|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A customer in the Vehicle Routing Problem. More...

Public Member Functions | |
| Customer (int id, int demand, double x, double y, double radius, AddableInteger[] angles) | |
| Constructor. | |
| String | toString () |
| double | doubleValue () |
| Customer | clone () |
| boolean | equals (Object o) |
| int | hashCode () |
Package Functions | |
| void | setPosition (int angle) |
| Computes the exact position of the customer. | |
Package Attributes | |
| final int | id |
| The customer ID. | |
| int | demand |
| The current customer demand. | |
| AddableInteger[] | angles |
| The possible angles for the position of this customer on the circle centered at (xInit, yInit) or radius this.radius. | |
Private Attributes | |
| final double | xInit |
| The initial X coordinate. | |
| double | x |
| The current X coordinate. | |
| final double | yInit |
| The initial Y coordinate. | |
| double | y |
| The current Y coordinate. | |
| final double | radius |
| The radius of uncertainty on the position of this customer. | |
Static Private Attributes | |
| static final long | serialVersionUID = -5719623691432541492L |
| Used for serialization. | |
A customer in the Vehicle Routing Problem.
| frodo2.solutionSpaces.vehiclerouting.Customer.Customer | ( | int | id, |
| int | demand, | ||
| double | x, | ||
| double | y, | ||
| double | radius, | ||
| AddableInteger[] | angles ) |
Constructor.
| id | The customer ID |
| demand | The customer demand |
| x | The X coordinate |
| y | The Y coordinate |
| radius | The radius of uncertainty on the position of this customer |
| angles | The possible angles for the position of this customer on the circle centered at (xInit, yInit) or radius this.radius |
| Customer frodo2.solutionSpaces.vehiclerouting.Customer.clone | ( | ) |
References Customer().
Referenced by frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.slice().

| double frodo2.solutionSpaces.vehiclerouting.Customer.doubleValue | ( | ) |
| boolean frodo2.solutionSpaces.vehiclerouting.Customer.equals | ( | Object | o | ) |
References Customer(), and id.

| int frodo2.solutionSpaces.vehiclerouting.Customer.hashCode | ( | ) |
|
package |
Computes the exact position of the customer.
| angle | the positional angle of the customer on the circle or radius this.radius centered at (this.xInit, this.yInit) |
Referenced by frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.getUtility(), and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.getUtility().
| String frodo2.solutionSpaces.vehiclerouting.Customer.toString | ( | ) |
|
package |
The possible angles for the position of this customer on the circle centered at (xInit, yInit) or radius this.radius.
Referenced by Customer(), frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.slice(), and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VehicleRoutingSpace().
|
package |
The current customer demand.
Referenced by Customer(), frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.slice(), and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VehicleRoutingSpace().
|
package |
The customer ID.
Referenced by Customer(), and equals().
|
private |
The radius of uncertainty on the position of this customer.
Referenced by Customer().
|
staticprivate |
Used for serialization.
|
private |
The current X coordinate.
Referenced by Customer().
|
private |
The initial X coordinate.
|
private |
The current Y coordinate.
Referenced by Customer().
|
private |
The initial Y coordinate.