jeudi 13 juillet 2017

Design Pattern for Managing Decision Tree

I am looking for a design pattern that manages a decision hierarchy, where a user may be presented with a set of questions and choosing the answer to a particular questions leads them down a path to more questions and eventually to a decision based on the path they choose.

The Composite pattern talks about managing tree structures but it seems to relate more to an 'is-a', 'has-a' relationship.

Would this be a suitable pattern to implement to hold a decision support structure? Or is there something more suitable?

Aucun commentaire:

Enregistrer un commentaire