Concave.satisfies#

Concave.satisfies(asset, constraint)[source]

Check if asset contains constraint.

In the ordering of a concave asset, the lower value contains the other.

Parameters:
  • asset (TConcave) – The “container” asset.

  • constraint (TConcave) – The “contained” asset.

Returns:

True if asset <= constraint, False otherwise.

Return type:

bool