|
|
|
|
|
|
|
|
|
|
|
|
str[]
|
|
|
boolean
|
isSubclass(self,
cls)
Returns:
True iff this class is a subclass (inclusive) of the
named class |
source code
|
|
|
str[]
|
getAllFillers(self,
attribute)
Returns:
all fillers of a slot (e.g, 'state', 'action', 'goal') on this model
and all superclasses |
source code
|
|
|
str
|
getInheritor(self,
attribute,
value,
includeSelf=True)
Returns:
the lowest class (either this one or some ancestory) that defines the
given value in the given agent attributes |
source code
|
|
|
|
|
|
|
|
|
str[]
|
ancestors(self,
order=False)
Returns:
all ancestor classes of this class, including itself |
source code
|
|
|
str[]
|
|
|
|
|
|
|
parse(self,
element)
Extracts model elements from the provided XML element |
source code
|
|
|
|
importDict(self,
generic)
Updates generic model from dictionary-style spec |
source code
|
|
|
Inherited from support.Supporter:
getAllBeliefs,
getLink,
getLinkKey,
getLinkTypes,
getLinkees,
getSupport,
getTrust,
initEntities,
preComStateEstimator,
removeLink,
setLink,
setSupport,
setTrust,
updateLinks,
updateTrust
Inherited from GoalBased.GoalBasedAgent:
__copy__,
__str__,
actionValue,
applyGoals,
expectedValue,
fit,
generateConstraints,
getGoalTree,
getGoalVector,
getGoalWeight,
getGoals,
getNormalization,
normalizeGoals,
setGoalWeight,
setGoals
Inherited from RecursiveAgent.RecursiveAgent:
__deepcopy__,
__eq__,
__getitem__,
__ne__,
ancestry,
applyChanges,
applyPolicy,
beliefDepth,
findObservation,
freeze,
getActionKeys,
getBelief,
getBeliefKeys,
getDynamics,
getEntities,
getEntity,
getEntityBeliefs,
getNestedBelief,
getObservation,
getObservations,
getSelfBelief,
getState,
getStateFeatures,
hasBelief,
incorporateMessage,
initialStateEstimator,
invalidateCache,
multistep,
observe,
resetHistory,
saveObservations,
setBelief,
setEntity,
setName,
setObservation,
setRecursiveBelief,
setSelfBelief,
setState,
stateEstimator,
step,
toHTML,
updateStateDict
Inherited from Agent.Agent:
__cmp__,
generateAllObservations,
generateHistories,
legalActions,
legalMessages,
observable,
postComStateEstimator
Inherited from stereotypes.Stereotyper:
clusterSpace,
freezeModels,
generateSpace,
hypotheticalPreCom,
reachable,
setModel,
updateModel,
updateModels,
weightEqual
|