graphlab.plugins.main.select
Class SelectPluginMethods
java.lang.Object
graphlab.plugins.main.select.SelectPluginMethods
- All Implemented Interfaces:
- PluginMethods
public class SelectPluginMethods
- extends java.lang.Object
- implements PluginMethods
- Author:
- azin azadi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectPluginMethods
public SelectPluginMethods(BlackBoard b)
getSelected
public SubGraph getSelected()
- Returns:
- returns the selected Vertices ans Edges of the graph
setSelected
public void setSelected(SubGraph sd)
setSelected
public void setSelected(java.util.Collection<VertexModel> selectedVertices,
java.util.Collection<EdgeModel> selectedEdges)
getSelectedVertices
public java.util.HashSet<VertexModel> getSelectedVertices()
setSelectedVertices
public void setSelectedVertices(java.util.Collection<VertexModel> selectedVertices)
getSelectedEdges
public java.util.HashSet<EdgeModel> getSelectedEdges()
setSelectedEdges
public void setSelectedEdges(java.util.Collection<EdgeModel> selectedEdges)
isSelectionEmpty
public boolean isSelectionEmpty()
clearSelection
public void clearSelection()
expandSelection
public void expandSelection()
- adds any vertex in graph which is adjacent to at list one vertex in selected vertices
- Parameters:
g
-