Graph-based deployments

Alchemist supports Graphstream-based deployments, allowing for rich graphs to be used as node deployments.

Deployments of this kind can be instanced through the GraphStreamDeployment type.

The most important parameter is the graph name, which must be a valid graph Generator name in GraphStream. If the generator's name ends in Generator, the last part can be omitted. The trailing parameters are passed directly to the constructor of the generator.

In the following example, the deployment is used to generate a Lobster graph:

incarnation: sapere

environment:
  type: Continuous2DEnvironment
  parameters: []

seeds:
  scenario: 0
  simulation: 0

deployments:
  type: GraphStreamDeployment
  parameters: [400, "Lobster", 2, 10]