Class skydata::internal::behaviours::UpdateFamilyKnowledge¶
ClassList > skydata > internal > behaviours > UpdateFamilyKnowledge
Inherits the following classes: skydata::internal::behaviours::SKAgentBehaviour
Public Attributes inherited from skydata::internal::behaviours::SKAgentBehaviour¶
See skydata::internal::behaviours::SKAgentBehaviour
Type | Name |
---|---|
SKAgent | agent = null |
Public Functions¶
Type | Name |
---|---|
UpdateFamilyKnowledge (SKAgent agent) |
|
void | action () |
Set< SKAID > | copySet (Set< SKAID > set) |
Public Functions inherited from skydata::internal::behaviours::SKAgentBehaviour¶
See skydata::internal::behaviours::SKAgentBehaviour
Type | Name |
---|---|
SKAgentBehaviour (SKAgent agent) |
|
void | action () |
void | actionWithParameters (Object o) |
boolean | done () |
Detailed Description¶
This behaviour aims to share the knowledge on the family member (replication and deletion).
See skydata.internal.behaviours.RegularlyUpdateKnowledge
Public Functions Documentation¶
function UpdateFamilyKnowledge¶
inline skydata::internal::behaviours::UpdateFamilyKnowledge::UpdateFamilyKnowledge (
SKAgent agent
)
Add this behaviour to an agent
Parameters:
agent
: the agent
function action¶
inline void skydata::internal::behaviours::UpdateFamilyKnowledge::action ()
Start the behaviour
Implements skydata::internal::behaviours::SKAgentBehaviour::action
function copySet¶
inline Set< SKAID > skydata::internal::behaviours::UpdateFamilyKnowledge::copySet (
Set< SKAID > set
)
Copy a set of SKAID
Parameters:
set
: the set to copy
Returns:
the copy of the set
The documentation for this class was generated from the following file /home/maxime/Desktop/skd_proto_v2/skd/src/main/java/skydata/internal/behaviours/UpdateFamilyKnowledge.java