public BooleanGlassGeneIm(BooleanGlassGenePm genePm,Parameters parameters){
  try {
    this.genePm=genePm;
    this.glassFunction=new BooleanGlassFunction(genePm.getLagGraph());
    this.initializer=new BasalInitializer(glassFunction,0,1);
    this.history=new GeneHistory(initializer,glassFunction);
    this.simulator=new MeasurementSimulatorParams(parameters);
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

public BooleanGlassGeneIm ( BooleanGlassGenePm genePm , Parameters parameters ) { try { this . genePm = genePm ; this . glassFunction = new BooleanGlassFunction ( genePm . getLagGraph ( ) ) ; this . initializer = new BasalInitializer ( glassFunction , 0 , 1 ) ; this . history = new GeneHistory ( initializer , glassFunction ) ; this . simulator = new MeasurementSimulatorParams ( parameters ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
obtains a boolean glass function from the boolean glass gene pm provided and uses it to create a glass history and a measurement simulator . editing this im consists in editing the wrapped measurement simulator .
