@Override
  public boolean createBeliefSet(int agentid, String name, BeliefSetField[] fields)
      throws BeliefBaseException {
    if (beliefsets.containsKey(name)) {
      return false;
    }
    // Add the beliefset to the list of beliefsets
    BeliefSet bs = new BeliefSet(beliefsets.size(), name, fields);
    beliefsets.put(name, bs);
    beliefsetsByID.put(bs.getId(), bs);
    return true;
  }
@ Override public boolean createBeliefSet ( int agentid , String name , BeliefSetField [ ] fields ) throws BeliefBaseException { if ( beliefsets . containsKey ( name ) ) { return false ; } BeliefSet bs = new BeliefSet ( beliefsets . size ( ) , name , fields ) ; beliefsets . put ( name , bs ) ; beliefsetsByID . put ( bs . getId ( ) , bs ) ; return true ; }
{@inheritDoc}.