config.ini 2.04 KB
Newer Older
Ahmad Reza's avatar
Ahmad Reza committed
1
[Simulator]
2
3
## Seedvalue for the same random sequence
## Different number creates a different random sequence
Ahmad Reza's avatar
Ahmad Reza committed
4
seedvalue = 12
5

Ahmad Reza's avatar
Ahmad Reza committed
6
## Maximum round number in swarm-world
7
max_round =  100
8

Ahmad Reza's avatar
Ahmad Reza committed
9
10
## 1 = Call of particles in randmom order 
## 0 = Call of particles in added order in scenario 
Ahmad Reza's avatar
Ahmad Reza committed
11
particle_random_order = True
12
13

## Viewing window size in pixels
Karol Actun's avatar
Karol Actun committed
14
15
window_size_x = 1920
window_size_y = 1080
16

Karol Actun's avatar
Karol Actun committed
17
18
19
20
21
22
23
[Visualization]
# Visualization 1 = On, 0 = Off
visualization = 1

#gui
gui = default_gui

Karol Actun's avatar
Karol Actun committed
24
25
26
27
28
29
30
31
32
33
34
# .obj (Wavefront) filenames in lib/visualization/models
particle_model_file = particle.obj
tile_model_file = tile.obj
marker_model_file = marker.obj

# matter colors (r,g,b,a)
particle_color = (1.0, 0.0, 0.0, 1.0)
tile_color = (0.0, 1.0, 0.0, 1.0)
marker_color = (0.0, 0.0, 1.0, 1.0)
grid_color = (1.0, 1.0, 1.0, 0.5)

35
[World]
Karol Actun's avatar
Karol Actun committed
36
37
38
39
40
41
## cubic = CubicGrid (3D - easy)
## hexagonal = HexagonalGrid (2D - original grid)
## ccp = CloseCubicPacking (3D - complex)
grid_class = cubic
grid_size = 10

42
43
44
## False = Unlimited world size
## True = limited world size
border = False
45

Ahmad Reza's avatar
Ahmad Reza committed
46
## Swarm-World world size in points
Ahmad Reza's avatar
Ahmad Reza committed
47
## Works only with border flag set on True
48
49
size_x = 2000.0
size_y = 2000.0
50
51

## Maximum number of particles that can be created while simulating
Karol Actun's avatar
Karol Actun committed
52
max_particles = 1000000
53
54
55

[Matter]
## with memory (mm) limitation 1=Yes 0=No
56
memory_limitation = False
57

Ahmad Reza's avatar
Ahmad Reza committed
58
## mm size in quantity 
59
## Works only with memory_limitation flag set on 1
60
marker_mm_size = 2
Ahmad Reza's avatar
Ahmad Reza committed
61
62
63
64
particle_mm_size = 2
tile_mm_size = 2

[File]
Ahmad Reza's avatar
Ahmad Reza committed
65
66
67
##Examples##

##Moving
68
#scenario = lonely_particle
Ahmad Reza's avatar
Ahmad Reza committed
69
#scenario = n_particle_in_line
70
#solution = random_walk
71
#solution = round_walk
Ahmad Reza's avatar
Ahmad Reza committed
72
73

## Creating and Deleting
74
75
#scenario = lonely_particle
#solution =  create_delete
Ahmad Reza's avatar
Ahmad Reza committed
76
77
78
79

## Take and Drop
#scenario = between_particle_one_tile_particle
#solution= take_drop_aims
80

Ahmad Reza's avatar
Ahmad Reza committed
81
## Read and Write
82
#scenario = two_particles_tiles_markers
Ahmad Reza's avatar
Ahmad Reza committed
83
#solution =  read_write
84

Ahmad Reza's avatar
Ahmad Reza committed
85
## Scanning for matters
86
87
#scenario = particles_tiles_markers_ring
#solution= scanning_for_all_aims
88

Ahmad Reza's avatar
Ahmad Reza committed
89
## All interfaces
Karol Actun's avatar
Karol Actun committed
90
91
#scenario = test_interfaces
scenario = test_interfaces3d
Ahmad Reza's avatar
Ahmad Reza committed
92
#scenario = hexagon_border
93
solution =  test_all_the_interfaces
94