FactoryProfile

class scml.scml2020.FactoryProfile(costs)[source]

Bases: object

Defines all private information of a factory

Attributes Summary

costs

An n_lines * n_processes array giving the cost of executing any process (INVALID_COST indicates infinity)

input_products

The input products to all processes runnable (See processes )

n_lines

n_processes

n_products

output_products

The output products to all processes runnable (See processes )

processes

The processes that have valid costs

Attributes Documentation

costs: numpy.ndarray

An n_lines * n_processes array giving the cost of executing any process (INVALID_COST indicates infinity)

input_products

The input products to all processes runnable (See processes )

Return type

ndarray

n_lines
n_processes
n_products
output_products

The output products to all processes runnable (See processes )

Return type

ndarray

processes

The processes that have valid costs

Return type

ndarray