Defines a classes to store and read info for GraphHammer edges and vertices information.
Also defines instances of those classes for unit (). It is meant as a safe way to say no useful information. Its use as an info should not incur any cost.
- class Info a where
- class (Num i, Ix i, Info a) => InfoArray i a where
A class to store information.
A method to encode value.
A class that defines array interface for GraphHammer information.
Create an array. First parameter is a length of array.
Get a value from array.
Store an encoded value.