|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A convenience class to store an assignment. More...
Public Member Functions | |
| CurrentAssignment (long timeStamp, Val assignment) | |
| A constructor. | |
| CurrentAssignment (long timeStamp, long cycleCount, Val assignment) | |
| A constructor. | |
| long | getTimeStamp (boolean time) |
| Val | getAssignment () |
| String | toString () |
Private Attributes | |
| final long | timeStamp |
| The time stamp (in nanoseconds). | |
| final long | cycleCount |
| When dealing with synchronous algorithms, the cycle count can be stored in this field. | |
| final Val | assignment |
| The current assignment. | |
A convenience class to store an assignment.
Used to determine convergence speed of an algorithm
| <Val> | type used for variable values |
| frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.CurrentAssignment< Val >.CurrentAssignment | ( | long | timeStamp, |
| Val | assignment ) |
A constructor.
| timeStamp | The absolute time at which this assignment was set (in nanoseconds) |
| assignment | The assignment |
References assignment, and timeStamp.
| frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.CurrentAssignment< Val >.CurrentAssignment | ( | long | timeStamp, |
| long | cycleCount, | ||
| Val | assignment ) |
A constructor.
| timeStamp | The absolute time at which this assignment was set (in nanoseconds) |
| cycleCount | The cycle count time stamp |
| assignment | The assignment |
References assignment, cycleCount, and timeStamp.
| Val frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.CurrentAssignment< Val >.getAssignment | ( | ) |
| long frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.CurrentAssignment< Val >.getTimeStamp | ( | boolean | time | ) |
| time | true when the time stamp must be returned, and false when the cycle count must be returned |
References cycleCount.
| String frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.CurrentAssignment< Val >.toString | ( | ) |
References assignment, and timeStamp.
|
private |
The current assignment.
Referenced by CurrentAssignment(), CurrentAssignment(), and toString().
|
private |
When dealing with synchronous algorithms, the cycle count can be stored in this field.
Referenced by CurrentAssignment(), and getTimeStamp().
|
private |
The time stamp (in nanoseconds).
Referenced by CurrentAssignment(), CurrentAssignment(), and toString().