Abstract
We propose a new style of writing graph algorithms in functional languages which is based
on an alternative view of graphs as inductively defined data types. We show how this graph
model can be implemented efficiently, and then we demonstrate how graph algorithms can be
succinctly given by recursive function definitions based on the inductive graph view. We also
regard this as a contribution to the teaching of algorithms and data structures in functional
languages since we can use the functional-style graph algorithms instead of the imperative
algorithms that are dominant today.
Publisher
Cambridge University Press (CUP)
Cited by
42 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献