45 size_t DistanceMatrix::getNameIndex(
const std::string& name)
const throw (Exception)
47 for (
size_t i = 0; i < names_.size(); ++i)
49 if (names_[i] == name)
return i;
51 throw Exception(
"DistanceMatrix::getNameIndex. Name not found: '" + name +
"'.");
This alphabet is used to deal NumericAlphabet.