AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
probfd::TerminationInfo Class Reference

#include "probfd/cost_function.h"

Description

Specifies the termination cost and goal status of a state.

Public Member Functions

bool is_goal_state () const
 Check if this state is a goal.
 
value_t get_cost () const
 Obtains the cost paid upon termination in the state.
 

Member Function Documentation

◆ is_goal_state()

bool probfd::TerminationInfo::is_goal_state ( ) const
inlinenodiscard

Check if this state is a goal.

◆ get_cost()

value_t probfd::TerminationInfo::get_cost ( ) const
inlinenodiscard

Obtains the cost paid upon termination in the state.