Equals() public static method

public static Equals ( Intarray a, Intarray b ) : bool
a Intarray
b Intarray
return bool
Beispiel #1
0
        public override int GetGtIndex(int index)
        {
            Intarray segs = new Intarray();

            GetSegments(segs, index);

            // see whether this is a ground truth segment
            int match = -1;

            for (int j = 0; j < gtsegments.Length(); j++)
            {
                if (GrouperRoutine.Equals(gtsegments[j], segs))
                {
                    match = j;
                    break;
                }
            }
            return(match);       // this returns the color in the cseg
        }