%0 Journal Article %@ 0005-1098 %A Tondel, Petter %A Johansen, Tor Arne %A Bemporad, Alberto %D 2003 %F eprints:460 %I Elsevier %J Automatica %K Piecewise linear controllers; Hybrid systems %N 5 %P 945-950 %T Evaluation of piecewise affine control via binary search tree %U http://eprints.imtlucca.it/460/ %V 39 %X We present an algorithm for generating a binary search tree that allows efficient computation of piecewise affine (PWA) functions defined on a polyhedral partition. This is useful for PWA control approaches, such as explicit model predictive control, as it allows the controller to be implemented online with small computational effort. The computation time is logarithmic in the number of regions in the PWA partition.