summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
AgeCommit message (Expand)AuthorFilesLines
2016-01-11IterableArray does not extends ArrayList but has it's own implementationJérémy Zurcher1-10/+9
2016-01-11use IterableStack, IterableSet and IterableQueueJérémy Zurcher1-10/+12
2016-01-11ArrayListIt -> IterableArrayJérémy Zurcher1-7/+7
2016-01-11PathBuilder: tiles and paths use ArrayListItJérémy Zurcher1-12/+9
2016-01-09while, for, if codding styleJérémy Zurcher1-2/+2
2016-01-09use ArrayListItJérémy Zurcher1-3/+4
2016-01-04PathBuilder: factorise best(Path, Path) out of chooseBest() and chooseExit()Jérémy Zurcher1-16/+17
2016-01-04PathBuilder: replace setExit(Orientation) with chooseExit(Orientation)Jérémy Zurcher1-11/+38
2016-01-04PathBuilder: factorise keepOnly(Path) out of choosBest() and chooseShortest()Jérémy Zurcher1-12/+11
2016-01-04PathBuilder: use getPaths()Jérémy Zurcher1-11/+13
2016-01-04PathBuilder: factorise getPaths(...) out of canExit()Jérémy Zurcher1-7/+8
2016-01-04PathBuilder: factorise pathCanExit(...) out of canExit()Jérémy Zurcher1-4/+10
2016-01-04PathBuilder: add chooseShortest()Jérémy Zurcher1-0/+19
2016-01-04PathBuilder: remove useless codeJérémy Zurcher1-3/+1
2016-01-04PathBuilder: choosePath() -p chooseBest()Jérémy Zurcher1-1/+1
2016-01-04PathBuilder: do not compute distance if from == toJérémy Zurcher1-3/+5
2016-01-04PathBuilder: impove error msgsJérémy Zurcher1-2/+2
2016-01-04PathBuilder: if (from == to) build empty pathJérémy Zurcher1-1/+6
2016-01-04PathBuilder: shorten codeJérémy Zurcher1-5/+2
2016-01-04PathBuilder: fix for at least one moveJérémy Zurcher1-11/+12
2015-12-31PathBuilder: fitness is the count of reached objectivesJérémy Zurcher1-6/+4
2015-12-31PathBuilder: search for paths even if distance < 2Jérémy Zurcher1-9/+1
2015-12-31PathBuilder: keep looking even if target tile is reachedJérémy Zurcher1-5/+4
2015-12-30PathBuilder: toggleCtrlTile add boolean quick parameterJérémy Zurcher1-4/+4
2015-12-28Objective: Tile swallows Objective, ObjectiveSet is destroyed, Board does the...Jérémy Zurcher1-1/+1
2015-12-24PathBuilder: give more weight to objectivesJérémy Zurcher1-1/+1
2015-12-24PathBuilder: fix error msgJérémy Zurcher1-1/+1
2015-12-24Revert "PathBuilder: always search for path even if distance is < 2, to check...Jérémy Zurcher1-1/+9
2015-12-21PathBuilder: use printToErr on errorJérémy Zurcher1-0/+1
2015-12-21PathBuilder: always search for path even if distance is < 2, to check for obj...Jérémy Zurcher1-9/+1
2015-12-21PathBuilder: choosePath: clears it all and then add the choosen pathJérémy Zurcher1-6/+6
2015-12-21PathBuilder: extract clearPaths() from clear()Jérémy Zurcher1-0/+5
2015-12-21Map0Hex: isObjective(Tile) -> isObjectiveFor(Tile,Pawn) : says no if already ...Jérémy Zurcher1-1/+1
2015-12-21PathBuilder: fitness takes objectives into accountJérémy Zurcher1-0/+1
2015-12-18cleanup tree using fix_javaJérémy Zurcher1-2/+0
2015-11-21PathBuilder: fix fitness computationJérémy Zurcher1-3/+3
2015-11-11PathBuilder: add Path.fitness and use it in findAllPaths() and choosePath()Jérémy Zurcher1-7/+19
2015-11-11PathBuilder: add stupid choosePath()Jérémy Zurcher1-0/+15
2015-07-19welcome RustAndDustJérémy Zurcher1-0/+266