Jugendhackt / paketmagie

Magische Pakete, 100% biologisch und gentechnikfrei geroutet
http://hackdash.org/projects/557bf10f3f8689f158e0f371
GNU General Public License v3.0
4 stars 0 forks source link

Generating a graph as big as needed #24

Closed fkarg closed 8 years ago

fkarg commented 8 years ago

Should work, the randomGraph function can easily be used I guess. The number of Nodes within the Graph is the only parameter of it, it is IO because it is at least somewhat random (or is at least supposed to be so). something else: the number of generated Ticks is hardcoded, but can be changed as needed. So is the Edge-generation, and how they are being connected, this might as well be changed in the future.

Closing #20

sternenseemann commented 8 years ago

Is matchTriple needed? I suppose not.

sternenseemann commented 8 years ago

Please do not merge yet; I possibly got something nice in the pipeline.

fkarg commented 8 years ago

You're right, it implies it since it's unused, but it actually is a way more performant function to remove the duplicates. will fix this now

sternenseemann commented 8 years ago

We should be done here now. :+1: :new_moon_with_face:

froozen commented 8 years ago

I'll give my approval as well. :+1: