Package org.biopax.paxtools.query.model
Interface Graph
- All Known Implementing Classes:
AbstractGraph,GraphL3,GraphL3Undirected
public interface Graph
This graph interface is used in graph algorithms.
- Author:
- Ozgun Babur
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Should clear any analysis specific labeling on the graph.getGraphObject(Object obj) Gets the wrapper of the related object.getWrappedSet(Set<? extends GraphObject> wrappers) Gets the wrapped objects of the given wrapper set.getWrapperMap(Set<?> objects) Gets a map from objects to their wrappers.getWrapperSet(Set<?> objects) Gets the set of wrappers for the given wrapped object set.
-
Method Details
-
getGraphObject
Gets the wrapper of the related object.- Parameters:
obj- The wrapped object- Returns:
- Wrapper
-
getWrapperSet
Gets the set of wrappers for the given wrapped object set.- Parameters:
objects- Wrapped objects- Returns:
- Related wrappers
-
getWrapperMap
Gets a map from objects to their wrappers.- Parameters:
objects- Wrapped objects- Returns:
- Object-to-wrapper map
-
getWrappedSet
Gets the wrapped objects of the given wrapper set.- Parameters:
wrappers- Wrappers- Returns:
- Wrapped objects
-
clear
void clear()Should clear any analysis specific labeling on the graph.
-