public Context(int dimension,Interval interval,Context parent){
  dimensions.add(dimension);
  intervals.add(interval);
  parents.add(parent);
  for (  ContextualDatum d : parent.sample) {
    if (containDatum(d)) {
      sample.add(d);
    }
  }
  oneDimensionalAncestors.add(this);
  this.globalSample=parent.globalSample;
  this.densityPruning=parent.densityPruning;
  this.dependencyPruning=parent.dependencyPruning;
  this.alpha=parent.alpha;
}

public Context ( int dimension , Interval interval , Context parent ) { dimensions . add ( dimension ) ; intervals . add ( interval ) ; parents . add ( parent ) ; for ( ContextualDatum d : parent . sample ) { if ( containDatum ( d ) ) { sample . add ( d ) ; } } oneDimensionalAncestors . add ( this ) ; this . globalSample = parent . globalSample ; this . densityPruning = parent . densityPruning ; this . dependencyPruning = parent . dependencyPruning ; this . alpha = parent . alpha ; }
initialize a one dimensional context
