Reference 〉Function

Edge.reassign( Agent oldagent, Agent newagent )

Moves a vertex from oldagent to newagent.

Parameters

  • oldagent Agent, required

    The agent from which the edge should be removed. Will raise a ValueError if agent is not one of the vertices.

  • newagent Agent, required

    The agent to which the edge should be connected.

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.