MCPcopy Create free account
hub / github.com/dabing1022/Blog / getEdgeCost

Method getEdgeCost

Processing/game2dai/graph/Graph.java:493–506  ·  view source on GitHub ↗

Get the cost of traversing an edge between 2 nodes. If either node does not exist or there is no edge exists between them then the method returns a value <0. @param fromID ID for the from node @param toID ID for the to node @return the edge or null if it doesn't exist

(int fromID, int toID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

getCostMethod · 0.65
getMethod · 0.45
toMethod · 0.45

Tested by

no test coverage detected