Skip to content

Integrate dynamic cast in aligator #194

@edantec

Description

@edantec

Currently 3 different dynamic casts are needed to access a residual from the vector of stages (for example, to set a reference):

  • Casting the CostAbstract held by a stage to a CostStack object
  • Casting the component to a composite cost (usually QuadraticResidualCost)
  • Casting the underlying residual

We could define template functions (eg: getComponent and getResidual) to access the residual more easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions