|
WSF
|
#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) |
|
static |
References BRAWLER::amax1(), BRAWLER::arcsin(), and BRAWLER::re.
Referenced by NominalSelfEngagementMeasure(), BrawlerPlatform::TargetAngleAboveHorizon(), and BrawlerPlatform::WeaponVerticalTrackCheck().
|
staticprotected |
|
static |
References BrawlerPlatform::AircraftValue(), BRAWLER::amax1(), BRAWLER::amin1(), BRAWLER::arccos(), BRAWLER::border(), BrawlerPlatform::ConvertNEDtoECS(), BrawlerPlatform::DegreeOfThreat(), BrawlerPlatform::ExpectedValueDestroyed(), BrawlerPlatform::GetNEDToECSRotation(), BrawlerPlatform::GetSpeed(), BrawlerPlatform::GetThreat(), BrawlerPlatform::GetTime(), BRAWLER::hafpi, BrawlerPlatform::MaximumInstantaneousLift_fps2(), pi, BrawlerPlatform::PositionNED(), BrawlerPlatform::ProjectedState(), BrawlerPlatform::ProjectedTimeDelta(), BrawlerPlatform::SetEvasionDirection(), BrawlerPlatform::State(), BrawlerPlatform::VelocityNED(), BRAWLER::vsplit(), and BrawlerPlatform::WeaponSimTimeOfIntercept().
Referenced by EvaluateAlternative(), and BrawlerPlatform::MindUpdate().
|
staticprotected |
References BRAWLER::arcsin(), BRAWLER::border(), BRAWLER::cauchy(), BrawlerPlatform::ConvertNEDtoECS(), BrawlerPlatform::GetTime(), BRAWLER::ILLUMINATE, BrawlerPlatform::LastComputedEngagementValue(), BrawlerPlatform::MissileMode(), BrawlerPlatform::RelativePositionNED(), BrawlerPlatform::SensorGimbalAzimuthLimit(), BrawlerPlatform::SensorGimbalElevationLimit(), and BrawlerPlatform::WeaponSimTimeOfIntercept().
Referenced by EvaluateAlternative().
|
staticprotected |
References BrawlerPlatform::AircraftValue(), BRAWLER::amax1(), BRAWLER::arcsin(), BRAWLER::border(), BrawlerPlatform::CurrentWeight_lbs(), BrawlerPlatform::DesignWeightForMaxG_lbs(), BrawlerPlatform::ExpectedValueDestroyed(), BrawlerPlatform::GetSpeed(), BrawlerPlatform::GetTarget(), BRAWLER::grav, BRAWLER::hafpi, BrawlerPlatform::Mach(), BrawlerPlatform::MaxInstantaneousGLoad_g(), BrawlerPlatform::NominalState(), BrawlerPlatform::ProjectedState(), BrawlerPlatform::ProjectedTimeDelta(), BRAWLER::ramp(), BrawlerPlatform::State(), BrawlerPlatform::StructuralGLimitAboveDesignWeight_g(), BrawlerPlatform::StructuralGLimitAtDesignWeight_g(), and BrawlerPlatform::VelocityNED().
Referenced by EvaluateAlternative().
|
staticprotected |
References BrawlerPlatform::AccelerationNED(), BRAWLER::AIMFIRE, BRAWLER::arccos(), BRAWLER::arcsin(), BrawlerPlatform::BoreSight(), BrawlerPlatform::ConvertNEDtoECS(), BrawlerPlatform::GetAlternative(), BrawlerPlatform::GetSpeed(), GunTracking(), InitMissileAiming(), BRAWLER::INTERCEPT, BRAWLER::makecs(), BrawlerPlatform::MaxWeaponAspectOffsetAngle(), BrawlerPlatform::MaxWeaponSteeringError(), BrawlerPlatform::MissileMode(), BrawlerPlatform::PositionNED(), BrawlerPlatform::ProjectedState(), BrawlerPlatform::ProjectedTimeDelta(), BRAWLER::rad, BrawlerPlatform::RelativePositionNED(), BrawlerPlatform::RelativeVelocityNED(), BrawlerPlatform::TargetAngleAboveHorizon(), BrawlerPlatform::TargetNominalState(), BrawlerPlatform::VelocityNED(), WeaponAimingEnvelope(), BrawlerPlatform::WeaponMaxEnvelopeRange(), BrawlerPlatform::WeaponMinEnvelopeRange(), BrawlerPlatform::WeaponSeekerMaxAngle(), BrawlerPlatform::WeaponSeekerOnWhenFired(), BrawlerPlatform::WeaponType(), BrawlerPlatform::WeaponVerticalTrackCheck(), and BRAWLER::xlarge.
Referenced by EvaluateAlternative().
|
staticprotected |
References Evaluate1v1(), and BrawlerPlatform::GetTarget().
Referenced by EvaluateAlternative().
|
staticprotected |
References BRAWLER::amin1(), BRAWLER::arccos(), BRAWLER::border(), BRAWLER::cauchy(), BRAWLER::dsxdot(), BrawlerPlatform::GetAlternative(), BrawlerPlatform::GetSpeed(), BrawlerPlatform::GetTargetRoutePoint(), BrawlerPlatform::PositionNED(), BrawlerPlatform::ProjectedState(), BRAWLER::rad, BRAWLER::reward(), BrawlerPlatform::RoutePointValueMultiplier(), and BrawlerPlatform::VelocityNED().
|
staticprotected |
References BRAWLER::amax1(), BRAWLER::arccos(), BRAWLER::arcsin(), BRAWLER::border(), c1, BRAWLER::cauchy(), BrawlerPlatform::DirectionVectoredFlight(), BRAWLER::grav, BrawlerPlatform::MaxTacticalGLoad_g(), BrawlerPlatform::NominalState(), BrawlerPlatform::ProjectedState(), BrawlerPlatform::ProjectedTimeDelta(), BRAWLER::rad, BrawlerPlatform::SpeedVectoredFlight(), BrawlerPlatform::ValueVectoredFlight(), and BrawlerPlatform::VelocityNED().
Referenced by EvaluateAlternative().
|
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().
|
static |
References BrawlerPlatform::AircraftValue(), BRAWLER::amin1(), CalcEvadeValue(), CalcIlluminationValue(), CalcLowSpeedRecoveryValue(), CalcMissileAimValue(), CalcPrimaryValues(), CalcVectoredFlightValue(), BrawlerPlatform::DefensiveMultiplier(), BrawlerPlatform::DegreeOfThreatCompliment(), BrawlerPlatform::GetTarget(), BrawlerPlatform::GetThreat(), BrawlerPlatform::HaveWeapons(), BRAWLER::i_nospd, BRAWLER::i_ovroff, BRAWLER::i_valdfx, BRAWLER::i_valevd, BRAWLER::i_villum, BRAWLER::i_vlospd, BRAWLER::i_vmaim, BRAWLER::i_voffef, BRAWLER::i_vvec, BRAWLER::ILLUMINATE, BrawlerPlatform::InherentBiasFaults(), BrawlerPlatform::InIntercept(), BrawlerPlatform::LastComputedEngagementValue(), BrawlerPlatform::ManeuverValueComponent(), BrawlerPlatform::MaxInstantaneousGLoad_g(), BrawlerPlatform::MinAlternativeValue(), BrawlerPlatform::MissileMode(), BrawlerPlatform::NoAim(), BrawlerPlatform::OffensiveMultiplier(), BrawlerPlatform::OneVsOneOp(), BRAWLER::ramp(), BrawlerPlatform::Ready(), BrawlerPlatform::RollOverTopValue(), BrawlerPlatform::SetManeuverValueComponent(), BrawlerPlatform::SetMinAlternativeValue(), BrawlerPlatform::SetRawManeuverValueComponent(), BrawlerPlatform::Skip1v1(), BrawlerPlatform::SlowFlight(), BrawlerPlatform::State(), BrawlerPlatform::TunnelVisionMultiplier(), BrawlerPlatform::UpdateStatistics(), and BrawlerPlatform::ValueVectoredFlight().
Referenced by WsfBrawlerProcessor::EvaluateAlternative().
|
staticprotected |
|
staticprotected |
References BRAWLER::arccos(), and BRAWLER::eps.
Referenced by CalcMissileAimValue(), and Evaluate1v1().
|
staticprotected |
|
staticprotected |
References BrawlerPlatform::ConvertNEDtoECS(), and BrawlerPlatform::RelativePositionNED().
Referenced by CalcMissileAimValue().
|
staticprotected |
References BRAWLER::amax1(), AngleAboveHorizon(), BRAWLER::border(), BRAWLER::cauchy(), BRAWLER::ftnmi, BRAWLER::grav, BRAWLER::hafpi, pi, BRAWLER::rad, and BRAWLER::ramp().
Referenced by SelfEngagementMeasure().
|
static |
References BRAWLER::amax1(), BRAWLER::border(), BRAWLER::cauchy(), BrawlerPlatform::CombatEffectiveness(), BRAWLER::energy(), GetBestWeapon(), BrawlerPlatform::GetMIND(), BrawlerPlatform::GetSpeed(), BRAWLER::kndgun, NominalSelfEngagementMeasure(), BRAWLER::nowepn, BrawlerPlatform::OffBoreSightAngle(), pi, BrawlerPlatform::PositionNED(), BrawlerPlatform::RangeRate(), BrawlerMIND::RangeWeapon(), BrawlerPlatform::VelocityNED(), and BRAWLER::xlimit().
Referenced by Evaluate1v1(), and BrawlerPlatform::ProbabilityOfKill().
|
staticprotected |
References BRAWLER::amax1(), BRAWLER::amin1(), BRAWLER::arccos(), BRAWLER::border(), BRAWLER::cauchy(), pi, BRAWLER::rad, BrawlerPlatform::RangePercent(), and BRAWLER::xlarge.
Referenced by CalcMissileAimValue().
|
staticprotected |
References BRAWLER::amax1(), BRAWLER::cauchy(), BRAWLER::grav, and BRAWLER::xlimit().
Referenced by Evaluate1v1().