shapeworks::EarlyStopping
Public Types
Public Functions
Public Attributes
Public Types Documentation
typedef PointType
typedef ParticleSystem::PointType shapeworks::EarlyStopping::PointType;
Public Functions Documentation
function EarlyStopping
function SetConfigParams
void SetConfigParams(
int frequency,
int window_size,
double threshold,
EarlyStoppingStrategy strategy =EarlyStoppingStrategy::RelativeDifference,
double ema_alpha =0.2,
bool enable_logging =false,
const std::string & logger_name ="",
int warmup_iters =1000
)
function reset
function update
void update(
int iteration,
const ParticleSystem * p
)
function ShouldStop
function SetControlShapes
bool SetControlShapes(
const ParticleSystem * p
)
function GetTestShapes
Eigen::MatrixXd GetTestShapes(
const ParticleSystem * p
)
Public Attributes Documentation
variable VDimension
static constexpr static int VDimension = 3;
Updated on 2025-10-13 at 18:47:49 +0000