Final project for CS453.
{timestamp}:{x_0};{y_0}#{x_1},{y_1}#...{x_(n-1)};{y_(n-1)}#[cr][lf]
...[EOF]
Where each ordered pair is the coordinate of the boid at that moment in time.
Build the data transformer for release and then run with the syntax:
./transformer/boidsTransformer/bin/Release/net5.0/boidsTransformer.exe [Input files] -o [Output directory] -s [Resolution] -t [Time endpoint]
For example:
./transformer/boidsTransformer/bin/Release/net5.0/boidsTransformer.exe datasets/raw_boids_base/basic.t1.boids datasets/raw_boids_base/basic.t2.boids datasets/raw_boids_base/basic.t3.boids datasets/raw_boids_base/basic.t4.boids datasets/raw_boids_base/basic.t5.boids datasets/raw_boids_base/basic.t6.boids datasets/raw_boids_base/basic.t7.boids datasets/raw_boids_base/basic.t8.boids -o datasets/proc_boids_basic -s 49
(The execution of the above command took about 5 seconds on a developer PC).
basic (datasets/raw_boids_base
):
- Num Boids: 50
- Boid Length: 10.0
- Boid Width: 5.0
- Trace Distance: 250.0
- Num Traces: 10
- Boid Speed: 200.0
- Num Obstacles: 0
- Obstacle Size: 30
- Attracition Radius: 50.0
- Repulsion Radius: 75.0
- Orientation Radius: 75.0
- Weight Attraction: 1.0
- Weight Repulsion: 1.0
- Weight Orientation: 1.0
- Weight Goal: 3.0
- Weight Current: 4.0
- Weight Wall: 0.2
- Weight Enemy: 10.0
- Weight Obstacle: 1.0
- Min X: -1000.0
- Max X: 1000.0
- Min Y: -1000.0
- Max Y: 1000.0
- Communication Model: Discreet_2D_FOV
- Spawn Shape: Random
- FOV: 240.0
- Goal Radius: 300.0
- Epochs: 10
- Sim Timeout Seconds: 45
- Share Goal Location: True
- Log Time Step: 0.25
time_series (datasets/raw_boids_ts
):
- Num Boids: 100
- Boid Length: 10.0
- Boid Width: 5.0
- Trace Distance: 250.0
- Num Traces: 10
- Boid Speed: 100.0
- Num Obstacles: 0
- Obstacle Size: 30
- Attracition Radius: 50.0
- Repulsion Radius: 75.0
- Orientation Radius: 75.0
- Weight Attraction: 1.0
- Weight Repulsion: 1.0
- Weight Orientation: 1.0
- Weight Goal: 3.0
- Weight Current: 4.0
- Weight Wall: 0.2
- Weight Enemy: 10.0
- Weight Obstacle: 1.0
- Min X: -1000.0
- Max X: 1000.0
- Min Y: -1000.0
- Max Y: 1000.0
- Communication Model: Discreet_2D_FOV
- Spawn Shape: Random
- FOV: 240.0
- Goal Radius: 300.0
- Epochs: 10
- Sim Timeout Seconds: 90
- Share Goal Location: True
- Log Time Step: 0.25