jill/src/main/java/io/github/agentsoz/jill/lang/Agent.java
public void createBeliefSet(String name, BeliefSetField[] fields) throws BeliefBaseException {
    beliefbase.createBeliefSet(getId(), name, fields);
  }
public void createBeliefSet(String name, BeliefSetField[] fields) throws BeliefBaseException {
    beliefbase.createBeliefSet(getId(), name, fields);
  }
Creates a new belief set with the given fields.

<p>Example usage:

<pre>
BeliefSetField[] fields = {new BeliefSetField("name", String.class, true),
new BeliefSetField("gender", String.class, false),};
createBeliefSet("neighbour", fields);
</pre>

@param name a name for this new belief set
@param fields an array of belief set fields (see
{@link io.github.agentsoz.jill.core.beliefbase.BeliefSetField})
@throws io.github.agentsoz.jill.core.beliefbase.BeliefBaseException exception
(see {@link io.github.agentsoz.jill.core.beliefbase.BeliefSetField})