GraphLab Project

graphlab.extensions.actions
Class GraphPower

java.lang.Object
  extended by graphlab.extensions.actions.GraphPower
All Implemented Interfaces:
BasicExtension, Extension, Parametrizable, Undoable, GraphActionExtension, GraphActionInterface

public class GraphPower
extends java.lang.Object
implements GraphActionExtension, Parametrizable, Undoable

Author:
Azin Azadi

Field Summary
 int k
           
 
Constructor Summary
GraphPower()
           
 
Method Summary
 void action(GraphData graphData)
           
 java.lang.String checkParameters()
          checks the parameters and return an error string if the parameter values are invalid, otherwise it returns null, also if some other fields should be set after setting the parameters you can do it in this method
 java.lang.String getDescription()
           
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void redo(UndoableActionOccuredData uaod)
           
 void undo(UndoableActionOccuredData uaod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k

public int k
Constructor Detail

GraphPower

public GraphPower()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Extension

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Extension

action

public void action(GraphData graphData)
Specified by:
action in interface GraphActionInterface

checkParameters

public java.lang.String checkParameters()
Description copied from interface: Parametrizable
checks the parameters and return an error string if the parameter values are invalid, otherwise it returns null, also if some other fields should be set after setting the parameters you can do it in this method

Specified by:
checkParameters in interface Parametrizable

main

public static void main(java.lang.String[] args)

undo

public void undo(UndoableActionOccuredData uaod)
Specified by:
undo in interface Undoable

redo

public void redo(UndoableActionOccuredData uaod)
Specified by:
redo in interface Undoable

GraphLab Project