...
Let's look at this sample:
No Format |
---|
K / V Berlin / Paris : 25 Berlin / London : 40 London / Paris : 10 Paris / Berlin : 25 |
This will adjacent Berlin to Paris and London, and London to Paris with the given weights.
...
- your names are unique! Otherwise it will result in strange output or exceptions.
- you watch out for leading and trailing whitespaces in the names, this will cause vertices to not find each other! For instance "_Paris" is not "Paris".
- every adjacent vertex can be somewhere found within the SequenceFile as a key.
- it is only ONE file!
- Key and Value are Text.class fields!
- Value always contains only ONE vertex
- Value is separated by ":" to split the name and the weight
...