| Package | Description | 
|---|---|
| org.apache.giraph.benchmark | Package of benchmarks for performance testing and optimization | 
| org.apache.giraph.examples | Package of Giraph examples. | 
| org.apache.giraph.examples.scc | Classes for Strongly Connected Components computation. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AggregatorsBenchmark.AggregatorsBenchmarkComputationVertex class for AggregatorsBenchmark | 
| class  | PageRankComputationImplementation of PageRank in which vertex ids are ints, page rank values
 are floats, and graph is unweighted. | 
| static class  | RandomMessageBenchmark.RandomMessageComputationActual message computation (messaging in this case) | 
| static class  | ReducersBenchmark.ReducersBenchmarkComputationVertex class for ReducersBenchmark | 
| class  | ShortestPathsComputationShortest paths algorithm. | 
| class  | WeightedPageRankComputationImplementation of Page Rank algorithm on a weighted graph. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AggregatorsTestComputationComputation which uses aggrergators. | 
| class  | BrachaTouegDeadlockComputationThis code demonstrates the Bracha Toueg deadlock detection algorithm. | 
| class  | ConnectedComponentsComputationImplementation of the HCC algorithm that identifies connected components and
 assigns each vertex its "component identifier" (the smallest vertex id
 in the component)
 The idea behind the algorithm is very simple: propagate the smallest
 vertex id along the edges to all vertices of a connected component. | 
| class  | IdentityComputation<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable>User applications can subclass IdentityComputation, which
 simply prints the results that have been read for testing IO related
 jobs under any inputformat | 
| class  | MaxComputationSimple algorithm that computes the max value in the graph. | 
| class  | PageRankWithKryoSimpleWritableCopy of SimplePageRank, modified to test vertex/edge and
 message values that derives from KryoSimpleWritable. | 
| class  | RandomWalkComputation<E extends org.apache.hadoop.io.Writable>Base class for executing a random walk on a graph | 
| class  | RandomWalkWithRestartComputationExecutes "RandomWalkWithRestart", a random walk on the graph which is biased
 towards a source vertex. | 
| static class  | SimpleCheckpoint.SimpleCheckpointComputationActual computation. | 
| class  | SimpleCombinerComputationTest whether messages can go through a combiner. | 
| class  | SimpleFailComputationVertex to allow unit testing of failure detection | 
| class  | SimpleInDegreeCountComputationSimple function to return the out degree for each vertex. | 
| class  | SimpleLongDoubleDoubleDoubleIdentityComputationA simple use of the Identity Vertex for taking care of Long, Double,
 Double, Double type Inputformat Good for use with
 io.LongDoubleDoubleAdjacencyListVertexInputFormat | 
| class  | SimpleMasterComputeComputationDemonstrates a computation with a centralized part implemented via a
 MasterCompute. | 
| class  | SimpleMsgComputationTest whether messages can be sent and received by vertices. | 
| class  | SimpleMutateGraphComputationVertex to allow unit testing of graph mutations. | 
| class  | SimpleOutDegreeCountComputationSimple function to return the out degree for each vertex. | 
| class  | SimplePageRankComputationDemonstrates the basic Pregel PageRank implementation. | 
| class  | SimpleShortestPathsComputationDemonstrates the basic Pregel shortest paths implementation. | 
| class  | SimpleSuperstepComputationJust a simple Vertex compute implementation that executes 3 supersteps, then
 finishes. | 
| class  | SimpleTriangleClosingComputationDemonstrates triangle closing in simple,
 unweighted graphs for Giraph. | 
| static class  | SimpleVertexWithWorkerContext.SimpleComputationActual vetex implementation | 
| class  | TestComputationStateComputationVertex to test the local variables in Computation, and pre/postSuperstep
 methods | 
| static class  | VerifyMessage.VerifyMessageComputationSend and verify messages. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SccComputationFinds strongly connected components of the graph. | 
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.