2using System.Collections.Generic;
34 return Compare(x, y, this.node);
47 return OrderedSet1.Compare(x, y);
49 return OrderedSet2.Compare(x, y);
53 int c1 = v1.Dimension;
54 int c2 = v2.Dimension;
55 int c = Math.Min(c1, c2);
58 for (i = 0; i < c; i++)
60 e1 = v1.GetElement(i);
61 e2 = v2.GetElement(i);
Script runtime exception.
Base class for all nodes in a parsed script tree.
Orders elements based on their values.
static int Compare(IElement x, IElement y, ScriptNode Node)
Compares two elements using the order operator defined by their associated sets.
ElementOrder(ScriptNode Node)
Orders elements based on their values.
int Compare(IElement x, IElement y)
Compares two elements.
Basic interface for all types of elements.
ISet AssociatedSet
Associated Set.
Basic interface for vectors.
Basic interface for ordered sets.