Skip to content

Commit

Permalink
* added sample files and more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
grundprinzip committed Jan 27, 2010
1 parent ee0323f commit ac4e7b8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ at a given position ( col, row).
How To Use?
-----------

1) compile the program using 'make'
2) run the prorgam using the ./main data/generated_data_small.csv 10 10 data/generated_data_small_index.csv


Aggregation Results
-------------------

When using the sample data the following results are corect:

1) Complete aggregation: 503
2) Agg by material number 0: 133


Genrate Data
-----------
Expand Down
10 changes: 10 additions & 0 deletions data/generated_data_small.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
460|57|0|0|0|0|1|0|1|1
4397|79|1|2|0|0|0|0|0|0
213|49|1|2|2|1|0|0|1|1
28247|94|1|0|0|2|2|2|0|0
26|23|2|0|1|0|0|1|0|2
0|65|1|2|0|1|0|1|2|2
1251|12|2|2|1|0|2|1|1|2
4114|9|0|0|0|0|2|2|0|0
250|19|2|1|1|2|0|0|1|2
2527|96|2|1|1|2|2|2|1|2
10 changes: 10 additions & 0 deletions data/generated_data_small_index.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0|5
1251|6
460|0
4397|1
4114|7
213|2
28247|3
26|4
250|8
2527|9

0 comments on commit ac4e7b8

Please sign in to comment.