|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iu.cnets.klatsch.lang.Value
edu.iu.cnets.klatsch.lang.VEdge
public class VEdge
This makes Edge
values from the model a first-class value in Klatsch.
Field Summary | |
---|---|
(package private) Edge |
e
the edge we're encapsulating |
Constructor Summary | |
---|---|
VEdge(Edge e)
Constructs a new edge. |
|
VEdge(GephiEdge e)
Constructs a new edge. |
Method Summary | |
---|---|
Value |
method_dst(Value... args)
dst() : Returns the destination node for this edge. |
Value |
method_e(Value... args)
e() : Returns the ending timestamp for this edge. |
Value |
method_s(Value... args)
s() : Returns the starting timestamp for this edge. |
Value |
method_src(Value... args)
src() : Returns the source node for this edge. |
Value |
method_trust(Value... args)
trust() : Returns the trusted weight of the edge. |
Value |
method_w(Value... args)
w() : Returns the total weight of the edge. |
java.lang.String |
toJson()
Creates a JSON representation of the edge. |
java.lang.String |
toString()
Converts this edge into a string representation. |
Methods inherited from class edu.iu.cnets.klatsch.lang.Value |
---|
require, requireCount, requireType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Edge e
Constructor Detail |
---|
public VEdge(Edge e)
public VEdge(GephiEdge e)
Method Detail |
---|
public java.lang.String toString()
toString
in class Value
public java.lang.String toJson()
toJson
in class Value
public Value method_dst(Value... args) throws EvaluationException
EvaluationException
public Value method_e(Value... args) throws EvaluationException
EvaluationException
public Value method_src(Value... args) throws EvaluationException
EvaluationException
public Value method_s(Value... args) throws EvaluationException
EvaluationException
public Value method_trust(Value... args) throws EvaluationException
EvaluationException
public Value method_w(Value... args) throws EvaluationException
EvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |