|
|
|
|
|
initEntities(self,
entityList,
maxDepth=-1)
Sets the entities known to be the list provided, and makes the
appropriate updates to goals, policy depth, etc. |
source code
|
|
|
|
stateEstimator(self,
beliefs,
actions,
epoch=-1,
debug=Debugger (0))
Calls the superclass state estimator, but also handles messages |
source code
|
|
dict
|
preComStateEstimator(self,
beliefs,
actions,
epoch=-1,
debug=Debugger (0))
Computes the hypothetical changes to the given beliefs in response to
the given actions |
source code
|
|
|
|
|
|
|
hypotheticalPostCom(self,
beliefs,
msgs,
epoch=-1,
debug=Debugger (0))
Returns:
the potential change in the agent's beliefs based on received
messages |
source code
|
|
|
|
acceptMessage(self,
sender,
msg,
debug=Debugger (0))
Boolean test that returns true iff this entity will accept (i.e.,
believe) the message sent by the specified sender entity |
source code
|
|
|
|
acceptability(self,
sender=None,
distance=-0.0,
filter=None,
debug=Debugger (0))
Quantitative assessment of the acceptability of my current beliefs |
source code
|
|
|
|
extendPolicy(self,
subpolicy)
Extends the lookup policy within the overall composite policy |
source code
|
|
|
|
setPolicyDepth(self,
depth)
Sets the lookahead policy depth within the overall composite
policy (creates a lookahead subpolicy if none pre-existing) |
source code
|
|
|
int
|
getPolicyDepth(self)
Returns:
the lookahead policy depth within the overall composite policy
(returns 0 if no such subpolicy) |
source code
|
|
|
|
|
|
|
|
|
|
__getstate__(self)
Remove any image info before pickling |
source code
|
|
|
|
__setstate__(self,
newDict)
Restore image info after unpickling |
source code
|
|
|
|
|
|
|
parse(self,
element)
Extracts this agent's recursive belief structure from the given XML
Element |
source code
|
|
|
Inherited from DefaultBased.GenericEntity:
addActions,
applyBeliefs,
applyDefaults,
getDefault,
initActions,
initBeliefs,
initDynamics,
initGoals,
initModels,
initObservations,
initRelationships,
initState,
instanceof,
instantiateGoal,
instantiateList,
instantiateName,
setHierarchy
Inherited from stereotypes.Stereotyper:
__str__,
clusterSpace,
freezeModels,
generateSpace,
hypotheticalPreCom,
reachable,
setModel,
updateModel,
updateModels,
weightEqual
Inherited from GoalBased.GoalBasedAgent:
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,
getAllBeliefs,
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,
step,
toHTML,
updateStateDict
Inherited from Agent.Agent:
generateAllObservations,
generateHistories,
legalActions,
legalMessages,
observable
Inherited from support.Supporter:
getLink,
getLinkKey,
getLinkTypes,
getLinkees,
getSupport,
getTrust,
removeLink,
setLink,
setSupport,
setTrust,
updateLinks,
updateTrust
Inherited from consistency.ConsistentAgent:
__getMessageContentKey__,
__getStateIntegratedWithMessage__,
__propagateBeliefsBackInTime__,
__propagateBeliefsForwardInTime__,
__solveForUniqueTreePath__,
calculateMessageConsistency,
getMemoryConsistency
Inherited from MemoryAgent.MemoryAgent:
updateMemory
|