Module: benchmarks
From SolutionSpaceTool
Helper module implementing benchmark reading and creation capabilities.
package | tools |
imported by: |
Contents |
Classes
class Benchmark(object)
Use this class for benchmark format independent operations. E.g., use this class for random benchmark generation. This class currently handles only rectangluar blocks (i.e., storing only dimension informations of locks). Benchmark status information is used to distinguish 2D/3D, rectangular/rectilinear, ...
The most important variable is data, which stores the benchmark information. It's format is as following: data = {modulename : [moduletype, dimensions, connections] where dimensions is a list and connections is a dictionary.
class YAL(Benchmark)
Use this class to load a YAL file. This is a 2D benchmark format.
class ACADEMIC(Benchmark)
Use this class to load a ACADEMIC file. This is a 3D benchmark format.
class RandomBenchmark(Benchmark)
Use this subclass to the basic Benchmark class to generate random benchmarks. Various approaches can be used (i.e., different distributions for both, area and aspect ratio of generated modules). Generation of a 2D benchmark.