@Override
  public boolean context() {
    int myid = getAgent().getId();
    Token2 goal = (Token2) getGoal();
    return (myid == goal.getAgent());
  }
@Override
  public boolean context() {
    int myid = getAgent().getId();
    Token2 goal = (Token2) getGoal();
    return (myid == goal.getAgent());
  }
@ Override public boolean context ( ) { int myid = getAgent ( ) . getId ( ) ; Token2 goal = ( Token2 ) getGoal ( ) ; return ( myid == goal . getAgent ( ) ) ; }
{@inheritDoc}.
{