示例#1
0
 public SerializedCondition(Serialized enclosingInstance)
 {
     InitBlock(enclosingInstance);
     index = EnclosingInstance.Index;
     code  = new int[EnclosingInstance.v.Length][];
     for (int i = 0; i < EnclosingInstance.v.Length; i++)
     {
         code[i] = new int[3];
     }
     for (int i = 0; i < code.Length; i++)
     {
         Domain d = EnclosingInstance.v[i].Domain;
         code[i][0] = i;
         code[i][1] = ((IntDomain)d).Value();
         code[i][2] = EnclosingInstance.l[i];
     }
     System.Collections.IComparer comp = new AnonymousClassComparator(this);
     Array.Sort(code, comp);
 }
示例#2
0
 private void  InitBlock()
 {
     spanDocComparator = new AnonymousClassComparator(this);
 }
示例#3
0
 private void  InitBlock()
 {
     spanDocComparator = new AnonymousClassComparator(this);
 }
示例#4
0
 public SerializedCondition(Serialized enclosingInstance)
 {
     InitBlock(enclosingInstance);
     index = EnclosingInstance.Index;
     _code = new int[EnclosingInstance._v.Length][];
     for (int i = 0; i < EnclosingInstance._v.Length; i++)
     {
         _code[i] = new int[3];
     }
     for (int i = 0; i < _code.Length; i++)
     {
         Domain d = EnclosingInstance._v[i].Domain;
         _code[i][0] = i;
         _code[i][1] = ((IntDomain) d).Value();
         _code[i][2] = EnclosingInstance._l[i];
     }
     System.Collections.IComparer comp = new AnonymousClassComparator(this);
     Array.Sort(_code, comp);
 }