GraphLab Project

graphlab.library.algorithms.goperators.product
Class GProduct<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>,GraphType extends BaseGraph<VertexType,EdgeType>>

java.lang.Object
  extended by graphlab.library.algorithms.goperators.product.GProduct<VertexType,EdgeType,GraphType>
Direct Known Subclasses:
GCartesianProduct, GPopularProduct

public abstract class GProduct<VertexType extends BaseVertex,EdgeType extends BaseEdge<VertexType>,GraphType extends BaseGraph<VertexType,EdgeType>>
extends java.lang.Object

Author:
Mohammad Ali Rostami

Field Summary
protected  GraphType g1
           
protected  GraphType g2
           
 
Constructor Summary
GProduct()
           
 
Method Summary
abstract  boolean compare(VertexType v1OfFirstG, VertexType v2OfFirstG, VertexType v1OfSecondG, VertexType v2OfSecondG)
           
 GraphType multiply(GraphType g1, GraphType g2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

g1

protected GraphType extends BaseGraph<VertexType,EdgeType> g1

g2

protected GraphType extends BaseGraph<VertexType,EdgeType> g2
Constructor Detail

GProduct

public GProduct()
Method Detail

multiply

public final GraphType multiply(GraphType g1,
                                GraphType g2)

compare

public abstract boolean compare(VertexType v1OfFirstG,
                                VertexType v2OfFirstG,
                                VertexType v1OfSecondG,
                                VertexType v2OfSecondG)

GraphLab Project