|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.algo.Sorting
public final class Sorting
This class provides methods for efficiently sorting graph elements in graph structures.
Method Summary | |
---|---|
static Node[] |
sortNodesByDegree(Graph graph)
Sort nodes by degree in ascending order |
static Node[] |
sortNodesByIntKey(Graph graph,
DataProvider keys)
Sort nodes by an integer key associated to each node through the given data provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Node[] sortNodesByDegree(Graph graph)
public static Node[] sortNodesByIntKey(Graph graph, DataProvider keys)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |