Interface BigraphHashFunction<B extends Bigraph<? extends Signature<?>>>

All Known Implementing Classes:
PureBigraphHash

public interface BigraphHashFunction<B extends Bigraph<? extends Signature<?>>>
Base interface to implement hash functions for bigraphs. Note that some hash functions may not necessarily compute unique hashes. It may be a computational efficient implementation which just considers the interfaces but not the overall structure of the bigraph.
Author:
Dominik Grzelak
  • Method Summary

    Modifier and Type
    Method
    Description
    static <B extends Bigraph<? extends Signature<?>>>
    BigraphHashFunction<B>
    get(Class<B> bClass)
     
    long
    hash(B bigraph)
    Compute a hash for a given bigraph.
  • Method Details

    • hash

      long hash(B bigraph)
      Compute a hash for a given bigraph.
      Parameters:
      bigraph - the bigraph
      Returns:
      a hash of a bigraph.
    • get

      static <B extends Bigraph<? extends Signature<?>>> BigraphHashFunction<B> get(Class<B> bClass)