Design of complex decission modules
-
Hi, I am looking for a way to solve my problem in a proper way: I have a pool of objects as input (lets name them p) I have alot of different decission criterias (lets name them c) I now want to sort those p with weighted c to get the best decission about the sorting of p. I think about a system where c are objects derived from a base class (name it Criteria). I want to be able to weight those c in a way that I am not sure of yet. Maybe it would be good to create a directed graph with those weights and let a search algo like Dijkstra run over it and get back the best result. Sorry for the confusing description. I dont get it sorted in my brain ;) I thinkt I am not the first one with a problem like this and hopefully there are some design concepts/patterns to solve such a problem without using if-else. Another question: Is there some design concept where the system can selve learn from its results and maybe start weighting those c on its own, based on earlier results? I appreciate any input from you!
-
Hi, I am looking for a way to solve my problem in a proper way: I have a pool of objects as input (lets name them p) I have alot of different decission criterias (lets name them c) I now want to sort those p with weighted c to get the best decission about the sorting of p. I think about a system where c are objects derived from a base class (name it Criteria). I want to be able to weight those c in a way that I am not sure of yet. Maybe it would be good to create a directed graph with those weights and let a search algo like Dijkstra run over it and get back the best result. Sorry for the confusing description. I dont get it sorted in my brain ;) I thinkt I am not the first one with a problem like this and hopefully there are some design concepts/patterns to solve such a problem without using if-else. Another question: Is there some design concept where the system can selve learn from its results and maybe start weighting those c on its own, based on earlier results? I appreciate any input from you!
Look at the Accord.Net framework. César des Souza described many functions in his articles on CP, start e.g. with Handwriting Recognition Revisited: Kernel Support Vector Machines[^]. The problem of hand writing recognition may seem unrelated, but I am sure that many aspects are shared with your tasks.