private List<LatticeNode> buildOneDimensionalLatticeNodes(List<ContextualDatum> data){
  List<LatticeNode> latticeNodes=new ArrayList<LatticeNode>();
  for (int dimension=0; dimension < totalContextualDimensions; dimension++) {
    LatticeNode ss=new LatticeNode(dimension);
    List<Context> denseContexts=initOneDimensionalDenseContextsAndContext2Data(data,dimension,denseContextTau);
    for (    Context denseContext : denseContexts) {
      ss.addDenseContext(denseContext);
      if (isEncoderSetup())       log.debug(denseContext.toString() + " ---- " + denseContext.print(encoder));
 else       log.debug(denseContext.toString());
    }
    latticeNodes.add(ss);
  }
  return latticeNodes;
}

private List < LatticeNode > buildOneDimensionalLatticeNodes ( List < ContextualDatum > data ) { List < LatticeNode > latticeNodes = new ArrayList < LatticeNode > ( ) ; for ( int dimension = 0 ; dimension < totalContextualDimensions ; dimension ++ ) { LatticeNode ss = new LatticeNode ( dimension ) ; List < Context > denseContexts = initOneDimensionalDenseContextsAndContext2Data ( data , dimension , denseContextTau ) ; for ( Context denseContext : denseContexts ) { ss . addDenseContext ( denseContext ) ; if ( isEncoderSetup ( ) ) log . debug ( denseContext . toString ( ) + " ---- " + denseContext . print ( encoder ) ) ; else log . debug ( denseContext . toString ( ) ) ; } latticeNodes . add ( ss ) ; } return latticeNodes ; }
find one dimensional lattice nodes with dense contexts
