|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MorePartnerFinder<AgentType,EdgeType>
MORe
Method Summary | |
---|---|
AgentType |
findPartner(Collection<AgentType> agents,
Graph<AgentType,EdgeType> graph,
AgentType focal,
boolean incoming)
Selects a partner for the given focal agent from the given list of potential partners. |
AgentType |
findPartner(Graph<AgentType,EdgeType> graph,
AgentType focal)
Finds a partner for the given focal agent in the given graph. |
AgentType |
findPartner(Graph<AgentType,EdgeType> graph,
AgentType focal,
boolean incoming)
Finds a partner for the given focal agent in the given graph. |
Method Detail |
---|
AgentType findPartner(Graph<AgentType,EdgeType> graph, AgentType focal)
graph
- focal
-
AgentType findPartner(Graph<AgentType,EdgeType> graph, AgentType focal, boolean incoming)
graph
- focal
- incoming
- true if a predecessor is requested, false for successor
AgentType findPartner(Collection<AgentType> agents, Graph<AgentType,EdgeType> graph, AgentType focal, boolean incoming)
agents
- graph
- focal
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |