public String modelsToString(){
  StringBuffer text=new StringBuffer();
  if (m_isLeaf) {
    text.append("LM_" + m_leafModelNum + ":"+ super.toString());
  }
 else {
    for (    LMTNode m_son : m_sons) {
      text.append("\n" + m_son.modelsToString());
    }
  }
  return text.toString();
}

public String modelsToString ( ) { StringBuffer text = new StringBuffer ( ) ; if ( m_isLeaf ) { text . append ( "LM_" + m_leafModelNum + ":" + super . toString ( ) ) ; } else { for ( LMTNode m_son : m_sons ) { text . append ( "\n" + m_son . modelsToString ( ) ) ; } } return text . toString ( ) ; }
returns a string describing the logistic regression function at the node .
