|
fpmas-metamodel 1.0
|
#include <cell.h>


Public Member Functions | |
| float | utility (GridAttractor attractor, DiscretePoint point) const override |
| virtual float | utility (GridAttractor attractor, DiscretePoint point) const =0 |
Utility::STEP implementation.
The utility value is 1000 inside the radius of the attractor, and decreases with an InverseUtility function after the radius, such as the utility is set to 1 at the radius.
|
overridevirtual |
Returns an utility value associated to the specified point according to the given attractor.
| attractor | Attractor from which the utility is computed |
| point | A discrete point of the grid environment |
Implements UtilityFunction.