List of all members.
Detailed Description
An implementation of topological sort operating on ComponentInfo
handle data store.
Constructor & Destructor Documentation
com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.ComponentInfoTopologicalSort |
( |
int |
capacity |
) |
throws IllegalArgumentException |
Create a Heap with the given initial capacity and comparator.
- Parameters:
-
| capacity | initial heap capacity. |
| cmp | comparator used to compare objects, if null natural ordering is used |
- Exceptions:
-
| IllegalArgumentException | if capacity less than zero |
com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.ComponentInfoTopologicalSort |
( |
HandleDataStore |
dataStore |
) |
|
Member Function Documentation
void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.clear |
( |
|
) |
|
void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.downheap |
( |
ComponentInfoVertex |
element, |
|
|
int |
k | |
|
) |
| | [protected] |
ComponentInfoVertex com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.extract |
( |
|
) |
|
ComponentInfoVertex com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.heapExtract |
( |
|
) |
[protected] |
void com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.insert |
( |
ComponentInfoVertex |
element |
) |
|
Insert an element, resize if necessary.
- Parameters:
-
| element | object to be insterted. |
final int com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.left |
( |
int |
k |
) |
[protected] |
Return left child node.
- Parameters:
-
| k | index of a parent node. |
final int com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.parent |
( |
int |
k |
) |
[protected] |
Return parent node of the child.
- Parameters:
-
ComponentInfoVertex com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.peek |
( |
|
) |
|
Return least element without removing it, or null if empty
- Returns:
- least element (min).
final int com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.right |
( |
int |
k |
) |
[protected] |
Return right child node.
- Parameters:
-
| k | index of a parent node. |
int com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.size |
( |
|
) |
|
static List com.cosylab.acs.maci.manager.ComponentInfoTopologicalSort.sort |
( |
HandleDataStore |
handleDataStore |
) |
[static] |
Member Data Documentation
Handle to hash index lookups.
The tree nodes, packed into an array.
The documentation for this class was generated from the following file: