lib/mnit: adds missing link with X11 lib

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
modelbuilder: avoid multiple load of the same module

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
added swap files, tests results and Eclipse project file to git ignore

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: Replace old nitdoc by nitdoc_ni

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge remote-tracking branch 'alexandre/nitdoc'
Makefile: use `git rev-parse HEAD` instead of crazy `git show` commands

Signed-off-by: Jean Privat <jean@pryen.org>
doc: add a unit test for has_prefix

Jean Privat <jean@pryen.org>
scope: break and continue affect the nearest do/end

Signed-off-by: Jean Privat <jean@pryen.org>
lib: intro the bucketed_game module, providing basic game logic

Used by LoL and Nit forest simulator.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds sqrt, sin and cos to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the a_star module (even though it is not yet A*)

Still need to support the heuristic.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: renames virtual type E to N

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: replace some class parameters with virtual types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: adds a larger test

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: minor clean up

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: use heuristic (it is now A*)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: fix use of virtual types in PathContext

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests/a_star: adds a test using heuristics

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: fix check for max_cost (is more reliable)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit: do not use "loop do"

the break is now attached to the do, not the loop

Signed-off-by: Jean Privat <jean@pryen.org>