Definition at line 2730 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, Impala::Persistency::KernelMatrixLocator::SetNodeCount(), Impala::Persistency::KernelMatrixLocator::SetStartNode(), and Impala::StringToBool(). Referenced by DoCopyKernelMatrix(), DoDeleteKernelMatrix(), DoDiffKernelMatrix(), DoDumpKernelMatrix(), DoKernelMatrix2SimilarityTable(), and DoKernelMatrix2Text(). 02731 { 02732 ILOG_VAR(Impala.Application.Repository.GetKernelMatrixLocator); 02733 02734 int nrArg = 9; 02735 if (!getSrcLoc) 02736 nrArg++; 02737 if (options.GetNrArg() < nrArg) 02738 { 02739 ILOG_ERROR("Need at least " << nrArg << " parameters"); 02740 } 02741 02742 int a = 1; 02743 String locString = options.GetArg(a++); 02744 String setName = options.GetArg(a++); 02745 bool isIndex = StringToBool(options.GetArg(a++)); 02746 String walkType = options.GetArg(a++); 02747 String annoSet = options.GetArg(a++); 02748 String model = options.GetArg(a++); 02749 String feature = options.GetArg(a++); 02750 String container = options.GetArg(a++); 02751 if (!getSrcLoc) 02752 locString = options.GetArg(a++); 02753 if ((annoSet == "nil") || (annoSet == "empty")) 02754 annoSet = ""; 02755 KernelMatrixLocator loc(locString, setName, isIndex, walkType, annoSet, 02756 model, feature, container); 02757 loc.SetStartNode(0); 02758 loc.SetNodeCount(1); 02759 return loc; 02760 }
Here is the call graph for this function: ![]()
|