problog examples fix

This commit is contained in:
Theofrastos Mantadelis 2010-12-02 15:04:42 +01:00
parent f46000cd11
commit 9ee83ddf6c
6 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
% $Id: graph.pl 4875 2010-10-05 15:28:35Z theo $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module('../problog').
:- use_module(library(problog)).
%%%%
% background knowledge

View File

@ -6,7 +6,7 @@
% $Id: graph_tabled.pl 4875 2010-10-05 15:28:35Z theo $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module('../problog').
:- use_module(library(problog)).
% New trie method ensures Probibilistic Cycle Handling needed for tabling that handles loops
:- set_problog_flag(use_db_trie, true).

View File

@ -14,8 +14,8 @@
% will run 20 iterations of learning with default settings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module('../problog').
:- use_module('../problog_learning').
:- use_module(library(problog)).
:- use_module(library(problog_learning)).
%%%%
% background knowledge

View File

@ -6,7 +6,7 @@
% $Id: office.pl 4970 2010-10-21 08:47:36Z bernd $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module('../problog').
:- use_module(library(problog)).
(W,gaussian(2,1)) :: width(W).
(L,gaussian(9,3)) :: length(L).

View File

@ -8,7 +8,7 @@
% The viral marketing example consists of a social network of friend relations. You have to decide which persons to market. Sending marketing has a cost of 2, but might cause people to buy your product, giving you a profit of 5. When someone buys the product, it becomes more likely that his friends also buy the product.
:- use_module('../dtproblog').
:- use_module(library(dtproblog)).
% Decisions
? :: marketed(P) :- person(P).

View File

@ -8,7 +8,7 @@
% The viral marketing example consists of a social network of friend relations. You have to decido which persons to market. Sending marketing has a cost of 2, but might cause people to buy your product, giving you a profit of 5. When someone buys the product, it becomes more likely that his friends also buy the product.
:- use_module('../dtproblog').
:- use_module(library(dtproblog)).
% Decisions
? :: marketed(P) :- person(P).