WSF
BrawlerEvaluation Class Reference

#include <BrawlerEvaluation.hpp>

Static Public Member Functions

static double EvaluateAlternative (BrawlerPlatform &me, UtEntity *tgt)
static void AngleAboveHorizon (const UtVec3d &xa, const UtVec3d &xt, double &ahor, double &adown, double &ovrhor, bool &masked)
static double SelfEngagementMeasure (BrawlerPlatform &me, UtEntity &aRef, UtEntity &aTgt)
static void CalcEvadeValue (BrawlerPlatform &me, double &valevd)

Static Protected Member Functions

static void CalcRoutepointValue (BrawlerPlatform &me, double &compr)
static void InitializeRoutePointValues (BrawlerPlatform &me)
static void CalcPrimaryValues (BrawlerPlatform &me, double &valofx, double &valdfs)
static void CalcVectoredFlightValue (BrawlerPlatform &me, double &vvec)
static void CalcMissileAimValue (BrawlerPlatform &me, UtEntity &aTgt, double &vmaim)
static void CalcIlluminationValue (BrawlerPlatform &me, UtEntity &aTgt, double &villum)
static void CalcLowSpeedRecoveryValue (BrawlerPlatform &me, double &vlospd)
static void CalcBadAspectValue (BrawlerPlatform &me, double &vavbdd)
static void Evaluate1v1 (BrawlerPlatform &me, UtEntity &aTgt, double &valoff, double &valdef)
static void GunTracking (const UtVec3d &xa, const UtVec3d &va, const UtVec3d &xt, const UtVec3d &vt, const UtVec3d &at, double sbul, bool &laimp, UtVec3d &raimp, UtVec3d &vaimp, UtVec3d &waimp, double &rngap, double &senow)
static void GetBestWeapon (BrawlerPlatform &me, UtEntity &aRef, BRAWLER::WeaponType &kndbst, bool &allasp, bool &lkdown)
static double NominalSelfEngagementMeasure (double range, double rdot, double ofbore, double aspect, double egysem, double spdtgt, const UtVec3d &xa, const UtVec3d &xt, double rbord, bool allasp, bool lkdown)
static double WeaponTimeSelfEngageMeasure (const UtVec3d &xa, const UtVec3d &va, const UtVec3d &xt, const UtVec3d &vt)
static void InitMissileAiming (BrawlerPlatform &me, UtEntity &aTgt, const UtVec3d &wap, double azap, double elap, double spdtmp, double gimbal_lim)
static double WeaponAimingEnvelope (BrawlerPlatform &me, const UtVec3d &xlosa, double rng, double rdot, double se, double aof, double rmin, double rmax, double semax, double aoffmx, bool trkbl, double ovrhor, double gimbal_lim, int kind)

Member Function Documentation

◆ AngleAboveHorizon()

void BrawlerEvaluation::AngleAboveHorizon ( const UtVec3d & xa,
const UtVec3d & xt,
double & ahor,
double & adown,
double & ovrhor,
bool & masked )
static

◆ CalcBadAspectValue()

void BrawlerEvaluation::CalcBadAspectValue ( BrawlerPlatform & me,
double & vavbdd )
staticprotected

◆ CalcEvadeValue()

◆ CalcIlluminationValue()

◆ CalcLowSpeedRecoveryValue()

◆ CalcMissileAimValue()

◆ CalcPrimaryValues()

void BrawlerEvaluation::CalcPrimaryValues ( BrawlerPlatform & me,
double & valofx,
double & valdfs )
staticprotected

◆ CalcRoutepointValue()

◆ CalcVectoredFlightValue()

◆ Evaluate1v1()

void BrawlerEvaluation::Evaluate1v1 ( BrawlerPlatform & me,
UtEntity & aTgt,
double & valoff,
double & valdef )
staticprotected

References BrawlerPlatform::AccelerationECS(), BrawlerPlatform::AccelerationNED(), BRAWLER::AIMFIRE, BRAWLER::amax1(), BRAWLER::amin1(), BRAWLER::arccos(), BRAWLER::arcsin(), BRAWLER::border(), BRAWLER::cauchy(), BrawlerPlatform::ConvertNEDtoECS(), BrawlerPlatform::ConvertNEDtoWind(), BrawlerPlatform::ConvertWindtoNED(), BrawlerPlatform::CorneringVelocity_fps(), BrawlerPlatform::CurrentWeight_lbs(), BrawlerPlatform::DesignWeightForMaxG_lbs(), BRAWLER::dist(), BRAWLER::energy(), BRAWLER::eps, BRAWLER::ftnmi, BrawlerPlatform::GetSpeed(), BrawlerPlatform::GetTarget(), BrawlerPlatform::GetTime(), BRAWLER::grav, GunTracking(), BRAWLER::hafpi, BRAWLER::INTERCEPT, BRAWLER::kndgun, BRAWLER::makecs(), BrawlerPlatform::MaxAngularRate_rps(), BrawlerPlatform::MaxForwardAcceleration_fps2(), BrawlerPlatform::MaxForwardAccelerationWithGravity_fps2(), BrawlerPlatform::MaximumInstantaneousLift_fps2(), BrawlerPlatform::MaxInstantaneousGLoad_g(), BrawlerPlatform::MaxSustainedGLoad_g(), BrawlerPlatform::MaxTacticalGLoad_g(), BrawlerPlatform::MinForwardAccelerationWithGravity_fps2(), BrawlerPlatform::MinInstantaneousTurnRadius_ft(), BrawlerPlatform::MinTacticalTurnRadius_ft(), BrawlerPlatform::MissileMode(), BrawlerPlatform::NominalState(), BrawlerPlatform::OffBoreSightAngle(), pi, BrawlerPlatform::PositionNED(), BrawlerPlatform::ProjectedState(), BrawlerPlatform::ProjectedTimeDelta(), BRAWLER::rad, BRAWLER::ramp(), BrawlerPlatform::RelativePositionNED(), BrawlerPlatform::RelativeVelocityNED(), BrawlerPlatform::RollOverTopTime(), BrawlerPlatform::RollOverTopValue(), SelfEngagementMeasure(), BrawlerPlatform::SetRollOverTopTime(), BrawlerPlatform::SetRollOverTopValue(), BrawlerPlatform::SpecificEnergyRate_fps(), BrawlerPlatform::State(), BrawlerPlatform::StructuralGLimitAboveDesignWeight_g(), BrawlerPlatform::StructuralGLimitAtDesignWeight_g(), BrawlerPlatform::TargetNominalState(), twopi, BrawlerPlatform::VelocityNED(), WeaponTimeSelfEngageMeasure(), BrawlerPlatform::WeaponType(), and BRAWLER::xlimit().

Referenced by CalcPrimaryValues().

◆ EvaluateAlternative()

double BrawlerEvaluation::EvaluateAlternative ( BrawlerPlatform & me,
UtEntity * tgt )
static

◆ GetBestWeapon()

void BrawlerEvaluation::GetBestWeapon ( BrawlerPlatform & me,
UtEntity & aRef,
BRAWLER::WeaponType & kndbst,
bool & allasp,
bool & lkdown )
staticprotected

◆ GunTracking()

void BrawlerEvaluation::GunTracking ( const UtVec3d & xa,
const UtVec3d & va,
const UtVec3d & xt,
const UtVec3d & vt,
const UtVec3d & at,
double sbul,
bool & laimp,
UtVec3d & raimp,
UtVec3d & vaimp,
UtVec3d & waimp,
double & rngap,
double & senow )
staticprotected

References BRAWLER::arccos(), and BRAWLER::eps.

Referenced by CalcMissileAimValue(), and Evaluate1v1().

◆ InitializeRoutePointValues()

◆ InitMissileAiming()

void BrawlerEvaluation::InitMissileAiming ( BrawlerPlatform & me,
UtEntity & aTgt,
const UtVec3d & wap,
double azap,
double elap,
double spdtmp,
double gimbal_lim )
staticprotected

◆ NominalSelfEngagementMeasure()

double BrawlerEvaluation::NominalSelfEngagementMeasure ( double range,
double rdot,
double ofbore,
double aspect,
double egysem,
double spdtgt,
const UtVec3d & xa,
const UtVec3d & xt,
double rbord,
bool allasp,
bool lkdown )
staticprotected

◆ SelfEngagementMeasure()

◆ WeaponAimingEnvelope()

double BrawlerEvaluation::WeaponAimingEnvelope ( BrawlerPlatform & me,
const UtVec3d & xlosa,
double rng,
double rdot,
double se,
double aof,
double rmin,
double rmax,
double semax,
double aoffmx,
bool trkbl,
double ovrhor,
double gimbal_lim,
int kind )
staticprotected

◆ WeaponTimeSelfEngageMeasure()

double BrawlerEvaluation::WeaponTimeSelfEngageMeasure ( const UtVec3d & xa,
const UtVec3d & va,
const UtVec3d & xt,
const UtVec3d & vt )
staticprotected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved