drasil-theory-0.1.0.0: A framework for code and document generation for scientific software - Theory SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Theory.Drasil.Classes

Description

Defining all the classes which represent knowledge-about-theories.

Synopsis

Documentation

class HasInputs c where Source #

Members of this class may have inputs.

Methods

inputs :: Lens' c [(QuantityDict, Maybe (RealInterval Expr Expr))] Source #

Provides a Lens that holds a QuantityDict and maybe constraints.

Instances

Instances details
HasInputs InstanceModel Source #

Finds the inputs of an InstanceModel.

Instance details

Defined in Theory.Drasil.InstanceModel

class HasOutput c where Source #

Members of this class may have outputs.

Methods

output :: Getter c QuantityDict Source #

Provides a Getter that holds a QuantityDict for output.

out_constraints :: Getter c [RealInterval Expr Expr] Source #

Provides a Getter that holds constraints on the output.

Instances

Instances details
HasOutput DataDefinition Source #

Finds the output variable of the DataDefinition

Instance details

Defined in Theory.Drasil.DataDefinition

HasOutput InstanceModel Source #

Finds the outputs and output constraints of an InstanceModel.

Instance details

Defined in Theory.Drasil.InstanceModel