#include "tlib.hh"
#include "boxes.hh"
#include "signals.hh"
Go to the source code of this file.
Functions | |
Tree | normalizePath (Tree path) |
Definition at line 133 of file labels.cpp.
References hd(), isNil(), normalizeLabel(), normalizePath(), and tl().
Referenced by normalizePath(), and propagate().
00134 { 00135 //cout << "Normalize Path [[" << *path << "]]" << endl; 00136 Tree npath; 00137 if (isNil(path)) { 00138 npath = path; 00139 } else { 00140 npath = normalizeLabel(hd(path), normalizePath(tl(path))); 00141 } 00142 //cout << " -> [[" << *npath << "]]" << endl; 00143 return npath; 00144 }