MultiAgentPOMDPs

MultiAgentPOMDPs.agent_actionindexFunction
function agent_actionindex(m::JointMDP, idx::Int64, a::A) where A

Returns the integer index of action a for agent idx. Used for discrete models only.

source
MultiAgentPOMDPs.agent_actionsFunction
function agent_actions(m::JointMDP, idx::Int64, s::S) where S

Returns the discrete actions for the given agent index.

Note

This will be called a LOT so it should not allocate each time....

source
MultiAgentPOMDPs.agent_stateindexFunction
function agent_actionindex(m::JointMDP, idx::Int64, s::S) where S

Returns the integer index of state s for agent idx. Used for discrete models only.

source
MultiAgentPOMDPs.coordination_graphFunction
function coordination_graph(m::JointMDP)
function coordination_graph(m::JointMDP, s::S) where S

Returns the LightGraphs.SimpleGraph (or any appropriate structure) for the coordination graph.

source