DIDPPy API Reference

Model

didppy.Model

DyPDL model.

didppy.Transition

Transition.

didppy.ObjectType

Object type.

didppy.SetConst

Set constant.

Expressions

didppy.ElementExpr

Element expression.

didppy.SetExpr

Set expression.

didppy.IntExpr

Integer expression.

didppy.FloatExpr

Continuous expression.

didppy.Condition

Condition.

Functions

didppy.max(x, y)

Returns an expression representing the greater value.

didppy.min(x, y)

Returns an expression representing the smaller value.

didppy.sqrt(x)

Returns an expression representing the square root.

didppy.log(x, y)

Returns an expression representing the logarithm of x using y as a base.

didppy.float(x)

Convert an integer expression to a continuous expression.

State

didppy.State

DyPDL state.

Variables

didppy.ElementVar

Element variable.

didppy.ElementResourceVar

Element resource variable.

didppy.SetVar

Set variable.

didppy.IntVar

Integer variable.

didppy.IntResourceVar

Integer resource variable.

didppy.FloatVar

Continuous variable.

didppy.FloatResourceVar

Continuous resource variable.

Tables of Constants

didppy.ElementTable1D

1-dimensional table of element constants.

didppy.ElementTable2D

2-dimensional table of element constants.

didppy.ElementTable3D

3-dimensional table of element constants.

didppy.ElementTable

Table of element constants.

didppy.SetTable1D

1-dimensional table of set constants.

didppy.SetTable2D

2-dimensional table of set constants.

didppy.SetTable3D

3-dimensional table of set constants.

didppy.SetTable

Table of set constants.

didppy.IntTable1D

1-dimensional table of integer constants.

didppy.IntTable2D

2-dimensional table of integer constants.

didppy.IntTable3D

3-dimensional table of integer constants.

didppy.IntTable

Table of integer constants.

didppy.FloatTable1D

1-dimensional table of continuous constants.

didppy.FloatTable2D

2-dimensional table of continuous constants.

didppy.FloatTable3D

Table of continuous constants.

didppy.FloatTable

Table of continuous constants.

didppy.BoolTable1D

1-dimensional table of bool constants.

didppy.BoolTable2D

2-dimensional table of bool constants.

didppy.BoolTable3D

3-dimensional table of bool constants.

didppy.BoolTable

Table of bool constants.

Solvers

didppy.ForwardRecursion

Forward recursion solver.

didppy.CABS

Complete Anytime Beam Search (CABS) solver.

didppy.CAASDy

Cost-Algebraic A* Solver for DyPDL (CAASDy).

didppy.LNBS

Large Neighborhood Beam Search (LNBS) solver.

didppy.DFBB

Depth-first branch-and-bound (DFBB) solver.

didppy.CBFS

Cyclic Best-First Search (CBFS) solver.

didppy.ACPS

Anytime Column Progressive Search (ACPS) solver.

didppy.APPS

Anytime Pack Progressive Search (APPS) solver.

didppy.DBDFS

Discrepancy-Based Depth-First Search (DBDFS) solver.

didppy.BreadthFirstSearch

Breadth-first search solver.

didppy.DDLNS

Large Neighborhood Search with Decision Diagrams (DD-LNS) solver.

didppy.WeightedAstar

Weighted A* solver.

didppy.ExpressionBeamSearch

Beam search solver using expressions to compute heuristic values.

Solution

didppy.Solution

Solution returned by a heuristic search solver.

Solver Configurations

didppy.FOperator

An enum representing an operator to compute the f-value combining an h-value and a g-value.

didppy.BeamParallelizationMethod

An enum representing how to parallelize beam search.