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