booldijkstraAlgorithm(constQList<T>&elements,intstartIndex,intendIndex,QList<T>&elementPath,std::function<double(constT&,constT&)>distance)// don't seperate parameters with new lines or documentation will break
{
if(elements.isEmpty()||startIndex<0
...
...
@@ -24,7 +24,7 @@ namespace OptimisationTools {
||endIndex>=elements.size()){
returnfalse;
}
qWarning("optitools");
//qWarning("optitools");
// Each element of type T gets stuff into a Node
/// @param distance is the distance between the Node and it's predecessor