Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/newgen-keznikl' into newgen-kit
Browse files Browse the repository at this point in the history
Conflicts:
	jdeeco-simulation-demo/evaluate.py
  • Loading branch information
Michał Kit committed Feb 19, 2014
2 parents 3f47fd7 + 290a1e9 commit 2f893bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions jdeeco-simulation-demo/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ def backupResults():
analyze()
except Exception:
print 'Step error'

plot()


scenarios = []
Expand Down
4 changes: 2 additions & 2 deletions jdeeco-simulation-demo/generator/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generateSimpleConfig(writeMode, areaId, posX, posY, areaSize, extSize, scale
others = []
others.extend(HQExtended.generateOthersEdgy(numOthers,exDiff*scale))

for cmp in random.sample(leaders + members + others, ipCount):
for cmp in random.sample(leaders + members, ipCount):
cmp.ip = True

for cmp in leaders:
Expand Down Expand Up @@ -132,4 +132,4 @@ def generateSimpleConfig(writeMode, areaId, posX, posY, areaSize, extSize, scale
ip = int(options.ip)
if options.prefix is not None:
prefix = options.prefix
generateConfig(numLeaders, numMembers, numOthers, prefix, ip)
generateConfig(numLeaders, numMembers, numOthers, prefix, ip)

0 comments on commit 2f893bd

Please sign in to comment.