repo.or.cz
/
aco.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
apply the observer pattern for the gui to get notifications from AntView
2010-06-27
Joch
e
n
Keil
va
r
ious gette
r
/setter met
h
ods for
c
omm
u
nication b
e
tw
e
en
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
new construc
t
or:
i
nstanc
i
a
te an obje
c
t only with s
t
r
a
tegies
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
ASPa
r
ameter inh
e
rits from ACOParameter and adds all
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
Jo
c
hen Kei
l
make A
C
OParam
e
ter
a
n a
b
stract class
commit
|
commitdiff
|
tree
2010-06-27
Jochen
K
eil
move computeNeare
s
tNeighbourL
i
stDepth method t
o
G
r
aphStrategy
commit
|
commitdiff
|
tree
2010-06-27
J
oche
n
Keil
al
g
ori
t
hm
f
or calculating distance fr
o
m coor
d
inates
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
Joche
n
Keil
algorit
h
m fo
r
line
a
r distances
commit
|
commitdiff
|
tree
2010-06-27
Joche
n
Keil
m
ake Di
s
tanceStrategy clas
s
ab
s
tract
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
ma
k
e ChoiceInformationStrateg
y
object abstract
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
make the
PheromoneStra
t
egy object abstra
c
t
commit
|
commitdiff
|
tree
2010-06-27
J
ochen Kei
l
make ACOS
t
rategy an
abstr
a
ct object
commit
|
commitdiff
|
tree
2010-06-27
J
o
ch
e
n Keil
rename MinTour to more a
p
propriate Global
B
est
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
rem
o
ve u
n
n
e
c
e
s
s
ary impo
r
t
commit
|
commitdiff
|
tree
2010-06-27
J
o
chen
Keil
re
m
ove
some clutt
e
r
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
computationo of cho
i
ce info relys on heur
i
stic info
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
r
emove commented
c
ode
commit
|
commitdiff
|
tree
2010-06-27
Jochen Keil
dele
t
e
unnecessar
y
fil
e
s
commit
|
commitdiff
|
tree
2010-06-27
Joche
n
Keil
make an a
b
s
t
r
a
ct
P
a
ir cl
a
s
s
commit
|
commitdiff
|
tree
2010-06-27
Joche
n
K
eil
i
n
it
i
al vers
i
on of a muc
h
improved (de
s
ign-wise) aco
.
.
.
commit
|
commitdiff
|
tree
2010-06-24
Joch
e
n Keil
new defau
l
t parameters
commit
|
commitdiff
|
tree
2010-06-24
Jochen Keil
init
i
al code f
o
r s
t
a
g
na
t
ion beh
a
viour
test (n
o
t
done
.
.
.
commit
|
commitdiff
|
tree
2010-06-24
J
o
chen Keil
add
s
ome todos
commit
|
commitdiff
|
tree
2010-06-24
Joche
n
K
e
i
l
add code
f
or
att
d
i
s
t
ance calculation
f
rom tsplib
commit
|
commitdiff
|
tree
2010-06-24
Jochen Keil
use get
t
er method
commit
|
commitdiff
|
tree
2010-06-24
Joc
h
e
n
K
eil
This
is neccessary since for s
o
me cities c
h
oice informat
i
on
.
.
.
commit
|
commitdiff
|
tree
2010-06-24
Joche
n
Keil
draw
g
reen
node num
b
ers but blue points
commit
|
commitdiff
|
tree
2010-06-24
Joche
n
Keil
d
raw node numbers to points
commit
|
commitdiff
|
tree
2010-06-24
Jochen Keil
cal
c
ulate value in advance with a
b
itshift for some
.
.
.
commit
|
commitdiff
|
tree
2010-06-24
Jochen Keil
onl
y
one
instruct
i
on
for < t
h
an two
f
or
<
=
commit
|
commitdiff
|
tree
2010-06-24
J
ochen Keil
draw status
i
nformation w
i
th black color
commit
|
commitdiff
|
tree
2010-06-23
Jochen Keil
scale the imag
e
accor
d
ing to
w
ind
o
w h
e
igth if wid
t
h
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
Joche
n
Ke
i
l
ad
d
a
class
m
ember
v
ariable fo
r
representi
n
g the
r
atio
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
Jochen Keil
move
t
h
e crea
t
ion
o
f t
h
e local vari
a
bles out
o
f
the
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
Joc
h
en Keil
a simple nearest ne
i
ghbou
r
heuristic
commit
|
commitdiff
|
tree
2010-06-23
J
o
chen Keil
replace x/yScale
d
Po
i
n
ts with x/yPoin
t
s
commit
|
commitdiff
|
tree
2010-06-23
Jochen
K
e
i
l
do n
o
t draw the gra
y
spiderweb
l
ike every-c
i
ty-to-ever
y
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
J
o
c
hen Keil
more consistent nam
i
ng
commit
|
commitdiff
|
tree
2010-06-23
Joc
h
en Keil
rename borde
r
t
o borderSize
commit
|
commitdiff
|
tree
2010-06-23
Joch
e
n Keil
sca
l
e si
z
e of Points for Cities in
G
raph
commit
|
commitdiff
|
tree
2010-06-23
Jochen Kei
l
move jfram
e
creat
i
on to
its own method
commit
|
commitdiff
|
tree
2010-06-23
J
ochen Keil
pr
i
nting of env
now happens in
shutdown
h
o
ok (EnvironmentShu
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
Jochen Keil
apply gett
e
r
m
et
h
od
commit
|
commitdiff
|
tree
2010-06-23
Joc
h
en K
e
i
l
f
ix a reall
y
nasty bug:
W
e need th
e
actual c
i
ty the
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
J
o
c
hen Keil
use
g
etter method
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
c
o
de cosmeti
c
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
r
eplac
e
mo
r
e
direc
t
access with getter/setter methods
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
only c
r
eate a g
u
i object
if th
e
re a
r
e coordinates
t
o
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
call
t
h
e applet
u
pdate metho
d
from the observer u
p
da
t
e
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen K
e
il
add rendering h
i
nts initial
p
aint method
commit
|
commitdiff
|
tree
2010-06-21
Joch
e
n Keil
im
p
lement the runnab
l
e interface so the
g
ui can run
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
J
ochen Ke
i
l
new
u
pdate metho
d
commit
|
commitdiff
|
tree
2010-06-21
Jochen K
e
il
upda
t
e the cons
t
ructor
to fit the n
e
w
r
equire
m
ent
s
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
data for drawi
n
g the
t
s
p solutions
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
m
e
thod for drawing th
e
s
h
ortes
t
route betwe
e
n all
p
oints
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
me
t
hod for drawing
s
pide
r
web-like lines
b
etween every
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen
K
eil
method
fo
r
d
r
a
w
ing cities/dat
a
p
o
i
n
ts
commit
|
commitdiff
|
tree
2010-06-21
Jochen
Keil
remove c
l
utt
e
r
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
replace dir
e
ct access wit
h
g
e
tter
/
setter
m
e
thods
commit
|
commitdiff
|
tree
2010-06-21
Jochen Kei
l
make membe
r
v
ariable
s
protected a
n
d add gett
e
r/setter
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
rem
o
ve unnecess
a
ry import
commit
|
commitdiff
|
tree
2010-06-21
Joc
h
en
K
eil
new simple
construc
t
o
r
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
make ants and grap
h
protected
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
nee
d
this
for
the ShutDownHook which was added in a
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
J
o
che
n
Keil
test main with ability to read a tsp
l
ib file
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
check
if id
s
o
bjec
t
is null before accessing ele
m
ents
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
do not
tr
y
to r
e
ad non existing value
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
make use of
g
ett
e
r
methods
commit
|
commitdiff
|
tree
2010-06-21
Jo
c
he
n
Keil
r
e
turn id o
n
ly
if the ids is not null
commit
|
commitdiff
|
tree
2010-06-21
J
och
e
n Keil
help
e
r functio
n
for inter
n
al dist
a
nce matrix creation
commit
|
commitdiff
|
tree
2010-06-21
Jo
c
hen Keil
getter method f
o
r
coordinate object
commit
|
commitdiff
|
tree
2010-06-21
Joche
n
Keil
method for checking if this
g
r
a
p
h obj
e
c
t ha
s
an
i
d
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen K
e
il
me
t
hod
t
o tes
t
wether this gra
p
h has a coordi
n
a
te matrix
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Joc
h
e
n
Keil
n
e
w con
s
tructor to allow i
n
s
tantiat
i
on with a
filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
Jochen Ke
i
l
class Coordinate
commit
|
commitdiff
|
tree
2010-06-21
Jochen
Keil
run the gc on select
e
d places
commit
|
commitdiff
|
tree
2010-06-21
Jochen
Keil
m
o
ve
main function
t
o sepera
t
e
classfile
commit
|
commitdiff
|
tree
2010-06-21
Joche
n
Keil
add a
shutdown h
o
ok to print out statisti
c
s
e
ve
n
when
.
.
.
commit
|
commitdiff
|
tree
2010-06-21
J
o
che
n
Keil
bugfix: only work wi
t
h siz
e
of n
e
ighbou
r
list array
commit
|
commitdiff
|
tree
2010-06-21
Joch
e
n Kei
l
a
l
l
ow Di
s
t
a
n
ce to be i
n
s
t
atia
t
ed
a ma
t
rix
commit
|
commitdiff
|
tree
2010-06-21
Jochen Keil
get
me
t
hod
s
for an an
t
s Tour
commit
|
commitdiff
|
tree
2010-06-19
Joc
h
en K
e
i
l
ignore
eclipse p
r
oject files
commit
|
commitdiff
|
tree
2010-06-19
Joc
h
en
K
e
il
put th
e
pieces (a
n
ts, gra
p
h) together
i
n
o
ne e
n
viron
m
ent
commit
|
commitdiff
|
tree
2010-06-19
Joche
n
Keil
in
i
tial gui
commit
|
commitdiff
|
tree
2010-06-19
J
oc
h
en Keil
a cl
a
ss graph con
s
ists o
f
a
d
istance
m
atrix,
a
p
h
e
romon
e
.
.
.
commit
|
commitdiff
|
tree
2010-06-19
Jochen Kei
l
impleme
n
tation of a (so
r
ted) li
s
t of near
e
st
n
eighbours
.
.
.
commit
|
commitdiff
|
tree
2010-06-19
Jochen Keil
data structure f
o
r acc
u
m
ula
t
ing pheromo
n
e
and distance
.
.
.
commit
|
commitdiff
|
tree
2010-06-19
Jo
c
h
en Keil
data an
d
method fo
r
pheromones on e
d
g
es b
e
t
w
e
e
n cities
commit
|
commitdiff
|
tree
2010-06-19
J
o
chen Keil
d
a
t
a structure for distances between cities
commit
|
commitdiff
|
tree
2010-06-19
Jochen
K
eil
an (init
i
al
)
ant which can compute tourlengt
h
pic
k
.
.
.
commit
|
commitdiff
|
tree
2010-05-30
Jo
c
h
e
n
Kei
l
add testc
a
se for Li
s
tGraph; mov
e
c
a
ses to stat
i
c methods
.
.
.
commit
|
commitdiff
|
tree
2010-05-30
Jochen Keil
implement Gra
p
h
representati
o
n as linked list
commit
|
commitdiff
|
tree
2010-05-30
Jochen Ke
i
l
delete old interface
f
ile
commit
|
commitdiff
|
tree
2010-05-30
J
oc
h
e
n Keil
example
code
f
or gr
a
ph in
t
erface
commit
|
commitdiff
|
tree
2010-05-30
Jochen Keil
r
e
w
o
rk interface
commit
|
commitdiff
|
tree
2010-05-30
Jochen Keil
ren
a
m
e/dele
t
e
f
iles
commit
|
commitdiff
|
tree
2010-05-28
Jochen Keil
more abst
r
action an
d
i
m
pl
e
mentation
d
etails
commit
|
commitdiff
|
tree
2010-05-28
Joc
h
en Keil
abstr
a
ct classes an
d
i
n
itial impl
e
mentation f
o
r graph
.
.
.
commit
|
commitdiff
|
tree
2010-05-28
Jochen Keil
in
i
tial
commit
|
commitdiff
|
tree