# FRBFSolver

## Library of Radial Basis Function solver functions

References

 Module AnimGraphRuntime Header /Engine/Source/Runtime/AnimGraphRuntime/Public/RBF/RBFSolver.h Include #include "RBF/RBFSolver.h"

Syntax

struct FRBFSolver

Remarks

Library of Radial Basis Function solver functions

Functions

Name Description

float

FindDistanceBetweenEntries

(
const FRBFEntry& A,
const FRBFEntry& B,
const FRBFParams& Params,
ERBFDistanceMethod OverrideMethod
)

Util to find distance between two entries, using provided params

bool

FindTargetNeighbourDistances

(
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...,
TArray< float >& NeighbourDists
)

Util to find distance to nearest neighbour target for each target

float

(
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...
)

float

(
const FRBFTarget& Target,
const FRBFParams& Params
)

Returns the radius for a given target

TSharedPtr< ...

InitSolver

(
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...
)

Given a set of targets and new input entry, give list of activated targets with weights

bool

IsSolverDataValid

(
const FRBFSolverData& SolverData,
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...
)

void

Solve

(
const FRBFSolverData& SolverData,
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...,
const FRBFEntry& Input,
TArray< FRBFOutputWeight >& Output...
)

Given a set of targets and new input entry, give list of activated targets with weights

bool

ValidateTargets

(
const FRBFParams& Params,
const TArray< FRBFTarget >& Target...,
TArray< int >& InvalidTargets
)

Given a list of targets, verify which ones are valid for solving the RBF setup.