Commit 011efaeb authored by Ahmad Reza's avatar Ahmad Reza
Browse files

deleted some bugs based on the previous commit

parent 8b0d639a
......@@ -43,28 +43,28 @@ tile_mm_size = 2
##Examples##
##Moving
scenario = lonely_particle
solution = random_walk
#solution = round_walk.py
#scenario = lonely_particle
#solution = random_walk
#solution = round_walk
## Creating and Deleting
#scenario = lonely_particle.py
#solution = create_delete.py
scenario = lonely_particle
solution = create_delete
## Take and Drop
#scenario = between_particle_one_tile_particle.py
#solution= take_drop_aims.py
#scenario = between_particle_one_tile_particle
#solution= take_drop_aims
## Read and Write
#scenario = two_particles_tiles_locations.py
#solution = read_write.py
#scenario = two_particles_tiles_locations
#solution = read_write
## Scanning for matters
#scenario = particles_tiles_locations_ring.py
#solution= scanning_for_all_aims.py
#scenario = particles_tiles_locations_ring
#solution= scanning_for_all_aims
## All interfaces
#scenario = test_interfaces.py
#solution = test_all_the_interfaces.py
#scenario = test_interfaces
#solution = test_all_the_interfaces
......@@ -31,7 +31,7 @@ read = 0
write = 1
particle_counter=0
class Particle(matter.matter):
class Particle(matter.Matter):
"""In the classe location all the methods for the characterstic of a location is included"""
def __init__(self, sim, x, y, color=black, alpha=1, mm_limit=0, mm_size=0):
......
......@@ -37,6 +37,7 @@ class ConfigData():
self.tile_mm_size = config.getint("Matter", "tile_mm_size")
self.location_mm_size = config.getint("Matter", "location_mm_size")
self.dir_name = None
def swarm_sim( argv ):
"""In the main function first the config is getting parsed and than
the simulator and the sim object is created. Afterwards the run method of the simulator
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment