GraphLab Project

graphlab.library
Class BaseEdgeProperties

java.lang.Object
  extended by graphlab.library.BaseEdgeProperties
All Implemented Interfaces:
java.lang.Cloneable

public class BaseEdgeProperties
extends java.lang.Object
implements java.lang.Cloneable

Wrapper for basic properties of an edge.

Author:
Omid Aladini

Field Summary
 int color
           
 boolean mark
           
 java.lang.Object obj
          You can store anything you want.
 int weight
           
 
Constructor Summary
BaseEdgeProperties(BaseEdgeProperties p)
           
BaseEdgeProperties(int color, int weight, boolean mark)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

public int color

weight

public int weight

mark

public boolean mark

obj

public java.lang.Object obj
You can store anything you want.

Constructor Detail

BaseEdgeProperties

public BaseEdgeProperties(BaseEdgeProperties p)

BaseEdgeProperties

public BaseEdgeProperties(int color,
                          int weight,
                          boolean mark)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

GraphLab Project