Changeset 4438 for trunk/examples
- Timestamp:
- 08/20/08 00:16:53 (5 months ago)
- Location:
- trunk/examples/constraints
- Files:
-
- 6 modified
-
swipl/loader.lgt (modified) (1 diff)
-
yap/hexagon.lgt (modified) (1 diff)
-
yap/loader.lgt (modified) (1 diff)
-
yap/puzzle.lgt (modified) (1 diff)
-
yap/queens.lgt (modified) (1 diff)
-
yap/sudoku.lgt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/constraints/swipl/loader.lgt
r4415 r4438 1 1 2 2 :- initialization(( 3 use_module(library(clpfd)),4 use_module(library(lists)),3 ensure_loaded(library(clpfd)), 4 ensure_loaded(library(lists)), 5 5 logtalk_load(library(types_loader)), 6 6 logtalk_load(library(metapredicates_loader)), -
trunk/examples/constraints/yap/hexagon.lgt
r4418 r4438 1 2 % code adapted to Logtalk by Paulo Moura from one of the CLP(FD) examples 3 % written by Markus Triska (August 2008) 4 5 1 6 % Written 2006 by Markus Triska triska@gmx.at 2 7 % Public domain code. -
trunk/examples/constraints/yap/loader.lgt
r4418 r4438 1 1 2 2 :- initialization(( 3 use_module(library(clpfd)),3 ensure_loaded(library(clpfd)), 4 4 logtalk_load(library(metapredicates_loader)), 5 5 logtalk_load([hexagon, queens, puzzle, sudoku]))). -
trunk/examples/constraints/yap/puzzle.lgt
r4415 r4438 1 1 2 % code adapted from one of the examples distributed with the CLP(FD) library 2 % code adapted to Logtalk by Paulo Moura from one of the CLP(FD) examples 3 % written by Markus Triska (August 2008) 4 3 5 4 6 :- object(puzzle). -
trunk/examples/constraints/yap/queens.lgt
r4421 r4438 1 2 % code adapted to Logtalk by Paulo Moura from one of the CLP(FD) examples 3 % written by Markus Triska (August 2008) 4 5 1 6 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 7 N Queens animation demo. -
trunk/examples/constraints/yap/sudoku.lgt
r4421 r4438 1 2 % code adapted to Logtalk by Paulo Moura from one of the CLP(FD) examples 3 % written by Markus Triska (August 2008) 4 5 1 6 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 7 Sudoku CLP(FD) animation.
