graphlab
Interface Scheduler


public interface Scheduler

Interface to Scheduler, passed to UpdateFunction. Allows scheduling neighboring vertices.

Author:
akyrola

Method Summary
 void addTask(int... v)
          Schedule current update function to list of vertices.
 void addTask(int vertex, UpdateFunction function)
          Add task to vertex with given id.
 void addTask(int vertex, UpdateFunction function, float priority)
           
 void addTask(java.util.List<java.lang.Integer> vv)
           
 void addTask(UpdateFunction function, int... v)
           
 void addTaskToOutbound(Scope scope)
          Schedule all outbound neighbors.
 

Method Detail

addTask

void addTask(int vertex,
             UpdateFunction function)
Add task to vertex with given id. Note: UpdateFunction instance has to have been provided to GraphLabJNIWrapper in constructor. Use "this" to schedule the current function.

Parameters:
vertex - vertex id
function - Update function instance.

addTask

void addTask(int vertex,
             UpdateFunction function,
             float priority)

addTask

void addTask(UpdateFunction function,
             int... v)

addTask

void addTask(int... v)
Schedule current update function to list of vertices.

Parameters:
v - list of vertex ids

addTask

void addTask(java.util.List<java.lang.Integer> vv)

addTaskToOutbound

void addTaskToOutbound(Scope scope)
Schedule all outbound neighbors.

Parameters:
scope - Scope passed to the update function.