![]() |
fpmas 1.6
|
#include <exceptions.h>


Public Member Functions | |
| OutOfMobilityFieldException (fpmas::api::graph::DistributedId agent_id, fpmas::api::graph::DistributedId cell_id) | |
| OutOfMobilityFieldException (fpmas::api::graph::DistributedId agent_id, fpmas::api::model::DiscretePoint agent_location, fpmas::api::model::DiscretePoint cell_point) | |
Public Member Functions inherited from fpmas::api::model::OutOfFieldException | |
| OutOfFieldException (const char *what) | |
Exception that might be thrown when attempting to move to a Cell outside of the SpatialAgent's mobility field.
|
inline |
OutOfMobilityFieldException constructor.
| agent_id | id of the agent to move |
| cell_id | id that does not correspond to any Cell in the agent's mobility field |
|
inline |
OutOfMobilityFieldException constructor adapted to GridAgents.
| agent_id | id of the agent to move |
| agent_location | location of the agent |
| cell_point | point that does not correspond to any GridCell in the agent's mobility field |