create-ini.cpp

This commit is contained in:
Hieu Hoang 2013-02-08 13:57:59 +00:00
parent 6663732c38
commit e4876599d2
2 changed files with 7 additions and 9 deletions

View File

@ -15,7 +15,7 @@ class LM : public FF
void Output(std::ostream &out) const
{
out << name << index << " "
out << name << index
<< " order=" << order
<< " factor=" << factor
<< " path=" << path

View File

@ -4,19 +4,17 @@ int PT::s_index = 0;
void PT::Output(std::ostream &out) const
{
out << name << index << " "
<< "implementation=" << 0 << " "
<< "num-features=" << numFeatures << " "
<< "path=" << path << " ";
out << name << index
<< " implementation=" << 0
<< " num-features=" << numFeatures
<< " path=" << path << " ";
out << "input-factor=";
out << " input-factor=";
Output(out, inFactor);
out << " ";
out << "output-factor=";
out << " output-factor=";
Output(out, outFactor);
out << " ";
out << std::endl;
}