Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
ProblemRouter Class Reference

#include <ProblemRouter.h>

Public Member Functions

 ProblemRouter (Physics::PhysicsSystem &physicsSystem)
 
std::unique_ptr< ISolvermakeSolver (Physics::PhysicsBody *body, const std::unordered_map< std::string, double > &knowns, const std::string &unknown) const
 
SolverDecision routeProblem (Physics::PhysicsBody *body, const std::unordered_map< std::string, double > &knowns, const std::string &unknown) const
 
std::vector< std::vector< std::string > > getRequiredKeys (const std::string &unknown) const
 

Detailed Description

Definition at line 22 of file ProblemRouter.h.

Constructor & Destructor Documentation

◆ ProblemRouter()

ProblemRouter::ProblemRouter ( Physics::PhysicsSystem physicsSystem)
explicit

Definition at line 16 of file ProblemRouter.cpp.

Member Function Documentation

◆ getRequiredKeys()

std::vector< std::vector< std::string > > ProblemRouter::getRequiredKeys ( const std::string &  unknown) const

Definition at line 31 of file ProblemRouter.cpp.

◆ makeSolver()

std::unique_ptr< ISolver > ProblemRouter::makeSolver ( Physics::PhysicsBody body,
const std::unordered_map< std::string, double > &  knowns,
const std::string &  unknown 
) const

Definition at line 50 of file ProblemRouter.cpp.

Here is the caller graph for this function:

◆ routeProblem()

SolverDecision ProblemRouter::routeProblem ( Physics::PhysicsBody body,
const std::unordered_map< std::string, double > &  knowns,
const std::string &  unknown 
) const

Definition at line 20 of file ProblemRouter.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: