public IEnumerable CEDescr VProperties EProperties GetInEdges CVDescr

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
public IEnumerable<CEDescr<VProperties, EProperties>> GetInEdges(CVDescr<VProperties> v)
{
Debug.Assert(v.reference is LinkedListNode<SRodVertexPair>);
var preds = (v.reference as LinkedListNode<SRodVertexPair>).Value.preds;
foreach (CEDescr<VProperties, EProperties> ed in preds)
{
yield return ed;
}
}