GraphLab Project

graphlab.library.event
Class PreWorkEvent<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>

java.lang.Object
  extended by graphlab.library.event.PreWorkEvent<VertexType,EdgeType>
All Implemented Interfaces:
Event

public class PreWorkEvent<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>>
extends java.lang.Object
implements Event


Field Summary
 VertexType from
           
 BaseGraph<VertexType,EdgeType> graph
           
 VertexType to
           
 
Constructor Summary
PreWorkEvent(VertexType from, VertexType to, BaseGraph<VertexType,EdgeType> graph)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getID()
           
 java.lang.String getMessage()
           
 void setMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

public final VertexType extends BaseVertex from

to

public final VertexType extends BaseVertex to

graph

public final BaseGraph<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>> graph
Constructor Detail

PreWorkEvent

public PreWorkEvent(VertexType from,
                    VertexType to,
                    BaseGraph<VertexType,EdgeType> graph)
Method Detail

getID

public java.lang.String getID()
Specified by:
getID in interface Event

getDescription

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

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface Event
Returns:
a message if the algorithm want to send any of them. this message will be loged and shown to the user

setMessage

public void setMessage(java.lang.String message)

GraphLab Project