GraphLab Project

graphlab.plugins.main.select
Class SelectPluginMethods

java.lang.Object
  extended by graphlab.plugins.main.select.SelectPluginMethods
All Implemented Interfaces:
PluginMethods

public class SelectPluginMethods
extends java.lang.Object
implements PluginMethods

Author:
azin azadi

Constructor Summary
SelectPluginMethods(BlackBoard b)
           
 
Method Summary
 void clearSelection()
           
 void expandSelection()
          adds any vertex in graph which is adjacent to at list one vertex in selected vertices
 SubGraph getSelected()
           
 java.util.HashSet<EdgeModel> getSelectedEdges()
           
 java.util.HashSet<VertexModel> getSelectedVertices()
           
 boolean isSelectionEmpty()
           
 void setSelected(java.util.Collection<VertexModel> selectedVertices, java.util.Collection<EdgeModel> selectedEdges)
           
 void setSelected(SubGraph sd)
           
 void setSelectedEdges(java.util.Collection<EdgeModel> selectedEdges)
           
 void setSelectedVertices(java.util.Collection<VertexModel> selectedVertices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectPluginMethods

public SelectPluginMethods(BlackBoard b)
Method Detail

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 -

GraphLab Project