public void AddOptionalGraphs(QueryGraph firstGraph, params QueryGraph[] moreGraphs)
 {
     AddAlternativeGraphs(firstGraph, moreGraphs);
     optionalAlternativeIndices.Add(alternativeGraphs.Count - 1);
 }
 public void AddAlternativeGraphs(QueryGraph firstGraph, params QueryGraph[] moreGraphs)
 {
     AddAlternativeGraphs(new[] { firstGraph }.Concat(moreGraphs));
 }