#include <Actor.hpp>
◆ dim()
virtual int smart::Actor::dim |
( |
| ) |
const |
|
pure virtual |
get the dimension of the state (the size of the pfield.state)
- Returns
- int dimension
Implemented in smart::OrientationActor.
◆ initialize()
virtual void smart::Actor::initialize |
( |
tml::table * |
config, |
|
|
tml::table * |
subconfig |
|
) |
| |
|
pure virtual |
◆ name()
virtual std::string smart::Actor::name |
( |
| ) |
|
|
pure virtual |
◆ num()
virtual std::vector<int> smart::Actor::num |
( |
| ) |
const |
|
pure virtual |
return the number of possible action of each dimension. return zero if the action is continueous.
- Returns
- std::vector<int>
Implemented in smart::OrientationActor.
◆ takeAction() [1/2]
taking actions
- Parameters
-
pfield | particle field |
pmodel | particle model |
inaive | whether the action is in naive mode (preset) |
Implemented in smart::OrientationActor.
◆ takeAction() [2/2]
The documentation for this class was generated from the following file:
- /mnt/e/linuxOS/PhyStar/SmartParticle/Actor/Actor.hpp