fpmas 1.6
Public Member Functions | List of all members
fpmas::model::DefaultBehavior Class Reference

#include <model.h>

Inheritance diagram for fpmas::model::DefaultBehavior:
Inheritance graph
[legend]
Collaboration diagram for fpmas::model::DefaultBehavior:
Collaboration graph
[legend]

Public Member Functions

void execute (api::model::Agent *agent) const override
 
virtual void execute (Agent *agent) const =0
 

Detailed Description

Deprecated:

A default api::model::Behavior that call api::model::Agent::act().

Since api::model::Agent::act() might be removed in a next release, this bahevior is deprecated: use Behavior instead.

Member Function Documentation

◆ execute()

void fpmas::model::DefaultBehavior::execute ( api::model::Agent agent) const
inlineoverridevirtual

Executes this behavior on the specified agent.

Parameters
agenton which this behavior must be executed.

Implements fpmas::api::model::Behavior.


The documentation for this class was generated from the following file: