edu.qut.cs.rcmd.common.graph
Class WeightedGraphSupport

java.lang.Object
  extended by edu.qut.cs.rcmd.common.graph.WeightedGraphSupport

public final class WeightedGraphSupport
extends Object


Nested Class Summary
static class WeightedGraphSupport.Property
           
 
Method Summary
static com.tinkerpop.blueprints.pgm.Edge addEdge(com.tinkerpop.blueprints.pgm.Graph graph, Object v1, Object v2, Double weight)
           
static com.tinkerpop.blueprints.pgm.Edge getEdge(com.tinkerpop.blueprints.pgm.Vertex source, Object targetId)
           
static com.tinkerpop.blueprints.pgm.Vertex getVertex(com.tinkerpop.blueprints.pgm.Graph graph, Object vid)
           
static Double getWeight(com.tinkerpop.blueprints.pgm.Edge edge)
           
static void setWeight(com.tinkerpop.blueprints.pgm.Edge edge, Double weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addEdge

public static com.tinkerpop.blueprints.pgm.Edge addEdge(com.tinkerpop.blueprints.pgm.Graph graph,
                                                        Object v1,
                                                        Object v2,
                                                        Double weight)

getEdge

public static com.tinkerpop.blueprints.pgm.Edge getEdge(com.tinkerpop.blueprints.pgm.Vertex source,
                                                        Object targetId)

getVertex

public static com.tinkerpop.blueprints.pgm.Vertex getVertex(com.tinkerpop.blueprints.pgm.Graph graph,
                                                            Object vid)

setWeight

public static void setWeight(com.tinkerpop.blueprints.pgm.Edge edge,
                             Double weight)

getWeight

public static Double getWeight(com.tinkerpop.blueprints.pgm.Edge edge)


Copyright © 2012. All Rights Reserved.