示例#1
0
 public void AddSet(IntSet cset)
 {
     SetOrthohonator.OrthohonalAdd(blocks, cset);
 }
示例#2
0
 /// <summary>
 /// Creates int sets partition from the sets which cannot be joined.
 /// </summary>
 /// <param name="csets">
 /// Sets of "separate" elements were each set should be subset of some "block" in partition.
 /// </param>
 public IntPartition(List <IntSet> csets)
 {
     this.indexStart = 1;
     this.blocks     = csets;
     SetOrthohonator.Orthohonate(csets);
 }