LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic Interface Reference

plan statistic More...

+ Inheritance diagram for org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic:
+ Collaboration diagram for org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic:

Public Member Functions

long count ()
 returns the number of executions More...
 
long fail ()
 returns number of failed execution More...
 
double failratio ()
 returns the ratio of failed executions More...
 
IPlanStatistic incrementfail ()
 increments the failed executions More...
 
IPlanStatistic incrementsuccessful ()
 increments the successful executions More...
 
IPlan plan ()
 plan reference More...
 
long successful ()
 returns number of successful execution More...
 
double successfulratio ()
 returns the ratio of successful execution More...
 
Stream< IVariable<?> > variables ()
 returns a stream with variables of the internal data More...
 

Detailed Description

Definition at line 37 of file IPlanStatistic.java.

Member Function Documentation

◆ count()

long org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.count ( )

◆ fail()

long org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.fail ( )
Returns
number of executions

Implemented in org.lightjason.agentspeak.language.instantiable.plan.statistic.CPlanStatistic.

Referenced by org.lightjason.agentspeak.action.builtin.agent.CPlanStatistic.statistic().

+ Here is the caller graph for this function:

◆ failratio()

double org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.failratio ( )

◆ incrementfail()

IPlanStatistic org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.incrementfail ( )

◆ incrementsuccessful()

IPlanStatistic org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.incrementsuccessful ( )

◆ plan()

IPlan org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.plan ( )
Returns
plan

Implemented in org.lightjason.agentspeak.language.instantiable.plan.statistic.CPlanStatistic.

Referenced by org.lightjason.agentspeak.action.builtin.TestCActionAgent.addplan(), and org.lightjason.agentspeak.action.builtin.agent.CGetPlan.query().

+ Here is the caller graph for this function:

◆ successful()

long org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.successful ( )
Returns
number of executions

Implemented in org.lightjason.agentspeak.language.instantiable.plan.statistic.CPlanStatistic.

Referenced by org.lightjason.agentspeak.action.builtin.agent.CPlanStatistic.statistic().

+ Here is the caller graph for this function:

◆ successfulratio()

double org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.successfulratio ( )

◆ variables()

Stream<IVariable<?> > org.lightjason.agentspeak.language.instantiable.plan.statistic.IPlanStatistic.variables ( )