La classe permettant de stocker une surface et de calculer et mettre à jour son évaluation.
Plus de détails...
|
| FieldEvaluation (Field &field, const Parameters ¶ms) |
|
unsigned | getRoadDistance (const Coordinates &coord1, const Coordinates &coord2) const |
|
void | reset () |
|
float | threadsEvaluateRatio () const |
|
|
unsigned | evaluateTotalUsable () |
|
float | manhattanRatioBetween2Parcels (const Coordinates &p1, const Coordinates &p2) const |
|
float | evaluateRatio () |
|
unsigned | get_width () const |
|
unsigned | get_height () const |
|
std::list< Coordinates > & | get_insOuts () |
|
unsigned | getNbParcels () const |
|
void | set_width (unsigned width) |
|
void | set_height (unsigned height) |
|
void | add_road (const Coordinates &coords) |
|
void | add_road (unsigned col, unsigned row) |
|
bool | tryAdd_in_out (unsigned col, unsigned row) |
|
void | add_undefined (unsigned col, unsigned row) |
|
State | at (const Coordinates &pos) const |
|
State | operator[] (const Coordinates &pos) const |
|
Field & | operator= (const Field &other) |
|
| Field (unsigned width, unsigned height) |
|
| Field (const Field &other) |
|
void | deleteOldMatrix () |
|
void | resizeWithDimensions () |
|
void | addRoads (std::list< Coordinates > *roads, unsigned serveDistance) |
|
void | removeRoads (std::list< Coordinates > *roads, unsigned serveDistance) |
|
bool | tryAdd_in_out (const Coordinates &coords) |
|
void | add_undefined (const Coordinates &coords) |
|
void | show_ins_and_outs () const |
|
std::ostream & | print (std::ostream &out) const |
|
bool | contains (int x, int y) const |
|
bool | contains (const Coordinates &coord) const |
|
bool | nextCoordinates (Coordinates *coord) const |
|
void | createExample () |
| createExample Plus de détails...
|
|
void | generateInsAndOuts (unsigned nb) |
|
std::list< Coordinates > * | getNeighbourRoads (const Coordinates &coord) const |
|
std::list< Coordinates > * | getCloseUnusableParcels (const Coordinates &coord, unsigned servingDistance) const |
|
std::list< Coordinates > * | getCloseParcels (const Coordinates &coord, unsigned maxDist) const |
|
std::list< Coordinates > * | getCloseRoads (const Coordinates &coord, unsigned maxDist) const |
|
std::list< Coordinates > * | getServingRoads (const Coordinates &coord, unsigned servingDistance) const |
|
bool | hasServingRoad (const Coordinates &coord, unsigned servingDistance) const |
|
void | setUsables (unsigned servingDistance) |
|
void | resetUsables (unsigned servingDistance) |
|
void | updateUsables (unsigned servingDistance) |
|
| Evaluation () |
|
unsigned | get_nbUsables () const |
|
float | get_avgAccess () const |
|
bool | is_dominated (const Evaluation &other) const |
|
void | initRoadDistances () |
|
unsigned | parcelsRoadDistance (const Coordinates &coord1, const Coordinates &coord2) |
|
La classe permettant de stocker une surface et de calculer et mettre à jour son évaluation.