FlashGraph-ng
A new frontier in large-scale graph analysis and data mining
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
fg::vertex_filter Class Referenceabstract

When the graph engine starts, a user can use this filter to decide what vertices are activated for the first time. More...

#include <graph_engine.h>

Public Member Functions

virtual bool keep (vertex_program &, compute_vertex &v)=0
 The method defines which vertices are active in the first iteration. If this method returns true the vertex will be activated, whereas false means the vertex will be inactive in the first iteration. More...
 

Detailed Description

When the graph engine starts, a user can use this filter to decide what vertices are activated for the first time.

Member Function Documentation

virtual bool fg::vertex_filter::keep ( vertex_program ,
compute_vertex v 
)
pure virtual

The method defines which vertices are active in the first iteration. If this method returns true the vertex will be activated, whereas false means the vertex will be inactive in the first iteration.

Parameters
vA single compute_vertex. Note: This parameter is provided by the graph engine. A user need not ever provide it.

The documentation for this class was generated from the following file: