/**
 * 
 */
package blog.model;

import blog.BLOGUtil;
import blog.common.Util;

public class ModelEvidenceQueries {
  public ModelEvidenceQueries() {
    model = new Model();
    evidence = new Evidence(model);
    queries = new Queries(model);
  }

  public ModelEvidenceQueries(Model model, Evidence evidence, Queries queries) {
    this.model = model;
    this.evidence = evidence;
    this.queries = queries;
  }

  @Deprecated
  public ModelEvidenceQueries(String modelDescription, String evidenceString,
      String queriesString) {
    model = BLOGUtil.parseModel_NE(modelDescription);
    evidence = BLOGUtil.parseEvidence_NE(evidenceString, model);
    queries = new Queries(model);
    queries.add(BLOGUtil.parseQuery_NE(queriesString, model));
  }

  /**
   * Convenience method assuming there is only one query, of class ArgSpecQuery,
   * and returning it.
   */
  public ArgSpecQuery argSpecQuery() {
    return (ArgSpecQuery) Util.getFirst(queries);
  }

  public Model model;
  public Evidence evidence;
  public Queries queries;
}

@@ -30,30 +30,8 @@
 l;%0A%0A
-import blog.BLOGUtil;%0A
 impo
@@ -394,351 +394,8 @@
  %7D%0A%0A
-  @Deprecated%0A  public ModelEvidenceQueries(String modelDescription, String evidenceString,%0A      String queriesString) %7B%0A    model = BLOGUtil.parseModel_NE(modelDescription);%0A    evidence = BLOGUtil.parseEvidence_NE(evidenceString, model);%0A    queries = new Queries(model);%0A    queries.add(BLOGUtil.parseQuery_NE(queriesString, model));%0A  %7D%0A%0A
   /*

remove deprecated constructor that wasn't used anywhere