graphlab.extensions.actions
Class GraphPower
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
k
public int k
GraphPower
public GraphPower()
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