FHTNPlanner

Windows
MacOS
Linux

References

Module

HTNPlanner

Header

/Engine/Plugins/AI/HTNPlanner/Source/HTNPlanner/Public/HTNPlanner.h

Include

#include "HTNPlanner.h"

Syntax

struct FHTNPlanner

Variables

Name Description

Protected variable

FHTNRestorePoin...

 

CurrentState

Protected variable

TArray< FHTNRes...

 

RestorePoints

The array where consecutive restore points are stored.

Protected variable

int32

 

RestorePointsStored

Used for bookkeeping RestorePoints contents

Protected variable

TArray< FHTNPol...

 

TasksToProcess

Constructors

Name Description

Public function

FHTNPlanner()

Functions

Name Description

Protected function

void

 

AddToPlan

(
    const FHTNPolicy::FTaskID CurrentTa...
)

Protected function Const

bool

 

CanRollBack()

Protected function

FHTNWorldSta...

 

CurrentWorldState()

Public function

bool

 

GeneratePlan

(
    const FHTNDomain& Domain,
    const FHTNWorldState& InitialWorld...,
    FHTNResult& Result,
    const FName& StartTaskName
)

Protected function Const

FHTNPolicy::...

 

GetActiveTask()

Protected function Const

int32

 

GetMethodIndex()

Protected function Const

const TArray...

 

GetPlan()

Public function Const

const FHTNWo...

 

GetWorldState()

Protected function

void

 

RecordDecomposition

(
    const FHTNPolicy::FTaskID CurrentTa...,
    const int32 MethodIndex
)

Protected function

void

 

Reset()

Protected function

void

 

RestoreDecomposition()

Constants

Name

Description

InitialResporePoints

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss