#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 132 of file labels.cpp.
References hd(), isNil(), normalizeLabel(), normalizePath(), and tl().
Referenced by normalizePath(), and propagate().
00133 { 00134 //cout << "Normalize Path [[" << *path << "]]" << endl; 00135 Tree npath; 00136 if (isNil(path)) { 00137 npath = path; 00138 } else { 00139 npath = normalizeLabel(hd(path), normalizePath(tl(path))); 00140 } 00141 //cout << " -> [[" << *npath << "]]" << endl; 00142 return npath; 00143 }