Bardo.ScapeManager.Sector behaviour (Bardo v0.1.0)
View SourceSectors are the subcomponents/processes that make up a Scape.
See the Scape module for a description of what is a Scape.
Summary
Functions
Perform various sector functions e.g. move, push, etc. The sector API is problem dependent. This function provides an interface to call various functions defined by the sector in question.
Returns a specification to start this module under a supervisor.
Delete entire table.
Delete object.
Enter sector.
Return all objects.
Lookup object.
Insert Agent into sector.
Leave sector.
Remove Agent from sector.
Gather sensory inputs from the environment.
Starts the Sector process.
Sends a signal to the Sector process requesting it to stop.
Insert object.
Update counter.
Types
Callbacks
Functions
Perform various sector functions e.g. move, push, etc. The sector API is problem dependent. This function provides an interface to call various functions defined by the sector in question.
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec delete(:t1 | :t2 | :t3 | :t4 | :t5 | :t6 | :t7 | :t8 | :t9 | :t10) :: true
Delete entire table.
@spec delete(:t1 | :t2 | :t3 | :t4 | :t5 | :t6 | :t7 | :t8 | :t9 | :t10, term()) :: true
Delete object.
Enter sector.
@spec fetch(:t1 | :t2 | :t3 | :t4 | :t5 | :t6 | :t7 | :t8 | :t9 | :t10) :: list()
Return all objects.
Lookup object.
Insert Agent into sector.
Leave sector.
Remove Agent from sector.
Gather sensory inputs from the environment.
Starts the Sector process.
Sends a signal to the Sector process requesting it to stop.
@spec store(:t1 | :t2 | :t3 | :t4 | :t5 | :t6 | :t7 | :t8 | :t9 | :t10, term()) :: true
Insert object.
@spec update_counter( :t1 | :t2 | :t3 | :t4 | :t5 | :t6 | :t7 | :t8 | :t9 | :t10, term(), tuple(), tuple() ) :: integer()
Update counter.