https://sourceforge.net/projects/perkun/
The examples are:
- example11_simple.zubr
- example12_with_frame.zubr
- example13_with_optimizer_thread.zubr
- example14_my_optimizer.zubr
- example15_get_input.zubr
- example16_on_error_in_populate_belief_for_consequence.zubr
- example17_get_model_probability.zubr
- example18_simple_automaton.zubr
- example19_get_payoff.zubr
- example20_hidden_variables.zubr
- example21_set_apriori_belief.zubr
zubr example21_set_apriori_belief.zubr > MyOptimizer.java
Then create a Java application project (for example in NetBeans), put the file MyOptimizer.java in the source folder (package "optimizer") and enjoy a simple optimizer generated by zubr!
I decided that only the Perkun values and variables are passed in the zubr specification - the apriori probabilities and the model probabilities are passed in pure Java (there is no special zubr syntax for them). It is better like that.
No comments:
Post a Comment