public boolean evaluate ( Agent agent ) { long t = agent . getAgentsAppState ( ) . getPHAInterface ( ) . getSimTime ( ) . getTimeInMillis ( ) ; if ( t != timestamp ) { timestamp = t ; evaluation = simpleEvaluation ( agent ) ; } return evaluation ; }
It tells if the condition is met