Beispiel #1
0
 /// <summary>
 /// Creates a new vertex info object.
 /// </summary>
 public VertexInfo()
 {
     _shortcuts = new Shortcuts <T>();
     _edges     = new MetaEdge[64];
 }
Beispiel #2
0
 /// <summary>
 /// Gets the weight from a meta-edge.
 /// </summary>
 public abstract T GetEdgeWeight(MetaEdge edge, out bool?direction);
Beispiel #3
0
 public override WeightAndDir <float> GetEdgeWeight(MetaEdge edge)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public override float GetEdgeWeight(MetaEdge edge, out bool?direction)
 {
     throw new NotImplementedException();
 }
Beispiel #5
0
 public static uint GetContractedId(this MetaEdge edge)
 {
     return(edge.MetaData[0]);
 }