![]() |
GrammarScope
4.0.0
|

Public Member Functions | |
| float | getOffset (Graph< V, E > graph, E e) |
| void | reset (Graph< V, E > g, E edge) |
| void | reset () |
| float grammarscope.jung2.EdgeOffsetFunction< V, E >.getOffset | ( | Graph< V, E > | graph, |
| E | e | ||
| ) |
Implemented in grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.SourceOffsetFunction, and grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.SourceOffsetFunction.
| void grammarscope.jung2.EdgeOffsetFunction< V, E >.reset | ( | ) |
Clears all edge indices for all edges in all graphs. Does not recalculate the indices.
Implemented in grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.SourceOffsetFunction, and grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.SourceOffsetFunction.
| void grammarscope.jung2.EdgeOffsetFunction< V, E >.reset | ( | Graph< V, E > | g, |
| E | edge | ||
| ) |
Resets the indices for edge and its parallel edges in graph. Should be invoked when an edge parallel to edge has been added or removed.
| g | the graph in which edge's index is to be reset |
| edge | the edge whose index is to be reset |
Implemented in grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.DestinationOffsetFunction, grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.SourceOffsetFunction, and grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.SourceOffsetFunction.
1.8.17