old syntax example.
This commit is contained in:
parent
857ff4b895
commit
4c1602b74b
25
packages/CLPBN/examples/School/sch32.yap
Normal file
25
packages/CLPBN/examples/School/sch32.yap
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
total_professors(32).
|
||||||
|
|
||||||
|
total_courses(64).
|
||||||
|
|
||||||
|
total_students(256).
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
:- use_module(library(clpbn)).
|
||||||
|
|
||||||
|
:- source.
|
||||||
|
|
||||||
|
:- style_check(all).
|
||||||
|
|
||||||
|
:- yap_flag(unknown,error).
|
||||||
|
|
||||||
|
:- yap_flag(write_strings,on).
|
||||||
|
|
||||||
|
:- ensure_loaded(schema).
|
||||||
|
|
||||||
|
:- ensure_loaded(school32_data).
|
||||||
|
|
||||||
|
:- set_clpbn_flag(solver, bdd).
|
||||||
|
|
Reference in New Issue
Block a user