Reference 〉Function

Edge.partner( Agent agent )

When passed an agent object, returns the other agent.

Parameters

  • agent Agent, required

    The agent whose partner to return. Will raise a ValueError if agent is not one of the vertices.

Return Value Agent

The partner agent.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.