Skip to content

Source files: 4 | Classes: 33 | Methods: 3 | Enums: 0


GTOS.Logistics

ABCAnalysisResult

readonly struct

ABC analysis result for inventory item

Source: LogisticsCoreAtomics.cs

Constants and Fields

AnnualUsageValue

readonly float

Classification

readonly ABCClass

CumulativePercentage

readonly float

ItemPercentage

readonly float

DeliveryPerformance

readonly struct

Delivery performance metrics

Source: LogisticsCoreAtomics.cs

Constants and Fields

DamageRate

readonly float

OnTimeRate

readonly float

PerfectOrderRate

readonly float

ReturnRate

readonly float

EOQResult

readonly struct

Economic Order Quantity calculation result

Source: LogisticsCoreAtomics.cs

Constants and Fields

AnnualOrderFrequency

readonly float

EconomicOrderQuantity

readonly float

OptimalOrderCost

readonly float

TimesBetweenOrders

readonly float

FacilityLocation

readonly struct

Network facility location result

Source: LogisticsCoreAtomics.cs

Constants and Fields

Latitude

readonly float

Longitude

readonly float

ServiceRadius

readonly float

TotalWeightedDistance

readonly float

FleetMetrics

readonly struct

Fleet performance metrics

Source: LogisticsCoreAtomics.cs

Constants and Fields

CO2Emissions

readonly float

FleetUtilization

readonly float

FuelConsumption

readonly float

PayloadEfficiency

readonly float

ForecastResult

readonly struct

Demand forecast result

Source: LogisticsCoreAtomics.cs

Constants and Fields

ForecastedDemand

readonly float

ForecastError

readonly float

MeanAbsoluteDeviation

readonly float

Pattern

readonly DemandPattern

GeoCoords

readonly struct

Geographic coordinates (WGS84)

Source: LogisticsCoreAtomics.cs

Constants and Fields

Altitude

readonly float

Latitude

readonly float

Longitude

readonly float

InventoryMetrics

readonly struct

Inventory performance metrics

Source: LogisticsCoreAtomics.cs

Constants and Fields

CarryingCost

readonly float

DaysOnHand

readonly float

FillRate

readonly float

StockoutRate

readonly float

TurnoverRatio

readonly float

LandedCost

readonly struct

Total landed cost breakdown

Source: LogisticsCoreAtomics.cs

Constants and Fields

DutiesAndTariffs

readonly float

FreightCost

readonly float

Insurance

readonly float

OtherFees

readonly float

ProductCost

readonly float

TotalLandedCost

readonly float

LogisticsConfig

static class

Logistics configuration parameters for optimization algorithms.
Provides runtime-tunable values for transport speeds, costs, risk scores, and thresholds.

Source: LogisticsCoreAtomics.cs

Constants and Fields

AirTransportCost

static float

AirTransportSpeed

static float

DefaultTransportSpeed

static float

MultimodalTransportCost

static float

PipelineTransportCost

static float

PipelineTransportSpeed

static float

RailTransportCost

static float

RailTransportSpeed

static float

RoadTransportCost

static float

RoadTransportSpeed

static float

SeaTransportCost

static float

SeaTransportSpeed

static float

LogisticsNetworks

static class

Logistics networks for supply chain optimization.
All networks compose atomic calculations from LogisticsCoreAtomics.

Source: LogisticsNetworks.cs

Methods

ValidateRouteOptimizationInputs

ValidationResult ValidateRouteOptimizationInputs ( float[] inputs )

Validate route optimization inputs

Operations

static class

Logistics atomic calculations - zero-allocation, deterministic operations.
All methods operate on primitives for MIL-SPEC performance.
Thread-safe and deterministic for real-time supply chain optimization.

Source: LogisticsCoreAtomics.cs

Constants and Fields

EARTH_RADIUS_KM

const float

Earth radius in kilometers for Haversine calculations

PI

const float

Pi to high precision

Methods

Distance2D

float Distance2D ( float x1, float y1, float x2, float y2 )

Calculate 2D Euclidean distance between two points
X coordinate of point 1
Y coordinate of point 1
X coordinate of point 2
Y coordinate of point 2
Distance in same units as input

PalletLoadResult

readonly struct

Pallet loading result

Source: LogisticsCoreAtomics.cs

Constants and Fields

BoxesPerLayer

readonly int

Layers

readonly int

TotalBoxes

readonly int

VolumeUtilization

readonly float

WeightUtilization

readonly float

ReorderPointResult

readonly struct

Reorder point calculation result

Source: LogisticsCoreAtomics.cs

Constants and Fields

LeadTimeDemand

readonly float

ReorderPoint

readonly float

SafetyStock

readonly float

ServiceLevel

readonly float

RouteSegment

readonly struct

Route segment for multi-modal transport

Source: LogisticsCoreAtomics.cs

Constants and Fields

Distance

readonly float

Mode

readonly TransportMode

RiskFactor

readonly float

StorageMetrics

readonly struct

Warehouse storage metrics

Source: LogisticsCoreAtomics.cs

Constants and Fields

AccessibilityScore

readonly float

CubeUtilization

readonly float

StorageDensity

readonly float

GTOS.Logistics.Behaviours

LogisticsBehaviours

static class

GTOS brain integration for Logistics domain.
Provides behavior triggers, real-time monitoring, alerting, and autonomous decision-making.
<para>PURPOSE:</para>
<para>This class bridges the gap between pure calculation (LogisticsCoreAtomics) and intelligent behavior (GTOS brain).
It monitors logistics operations in real-time, detects anomalies, triggers alerts, and enables autonomous responses.</para>
<para>ARCHITECTURE:</para>
<list type="bullet">
<item>LogisticsCoreAtomics: Pure calculations (in/out, zero allocation)</item>
<item>LogisticsNetworks: Workflow compositions of atomics</item>
<item>LogisticsBehaviours: GTOS integration and intelligent behavior</item>
<item>LogisticsExecutionEngine: Domain execution coordinator</item>
</list>
<para>TRIGGER CONDITIONS:</para>
<para>Behaviors are triggered when monitored metrics cross thresholds or patterns emerge:</para>
<list type="number">
<item>Inventory: Stock below reorder point, stockout risk, excess inventory</item>
<item>Performance: Delivery late, perfect order rate drops, damage rate spikes</item>
<item>Health: System error rate elevated, response time degraded, memory critical</item>
<item>Risk: Supply chain risk elevated, route blocked, supplier unreliable</item>
<item>Fleet: Vehicle utilization low, fuel consumption anomaly, maintenance due</item>
<item>Financial: Cost-to-serve exceeds threshold, cash conversion cycle elongated</item>
</list>

Source: LogisticsBehaviours.cs

Methods

MonitorInventoryReorderTrigger

bool MonitorInventoryReorderTrigger ( float currentStock, float reorderPoint, float safetyStock )

Monitors inventory levels and triggers reorder behavior when stock drops below reorder point.
<para>WHEN TO USE:</para>
<para>Run continuously for all active SKUs to prevent stockouts. Typically executed every hour or in real-time for critical items.</para>
<para>TRIGGER CONDITION:</para>
<para>Triggers when: CurrentStock ≤ ReorderPoint</para>
<para>BEHAVIOR:</para>
<list type="number">
<item>Calculate EOQ and reorder point from LogisticsCoreAtomics</item>
<item>Check current stock level vs reorder point</item>
<item>If below reorder point: Generate purchase requisition</item>
<item>Escalate to urgent if stock critically low (<50% of safety stock)</item>
<item>Notify procurement team via GTOS message system</item>
</list>
<para>EXAMPLE:</para>

// Monitor Widget inventory (current stock: 520 units, reorder point: 585 units)
bool shouldReorder = MonitorInventoryReorderTrigger(520, 585, 123);
// Returns: true (below reorder point by 65 units)
// Action: Generate PO for EOQ quantity (775 units)

Current inventory on-hand (units)
Calculated reorder point (units)
Safety stock buffer (units)
True if reorder behavior should trigger, false otherwise

GTOS.Logistics.Execution

ABCXYZClassificationInputs

struct

ABC-XYZ inventory classification inputs - value and variability segmentation

Source: LogisticsExecutionEngine.cs

Constants and Fields

AnnualDemand

float

DemandCoV

float

UnitCost

float

CostToServeInputs

struct

Cost-to-serve analysis inputs - landed cost, freight, demurrage, surcharges

Source: LogisticsExecutionEngine.cs

Constants and Fields

BaseFreightRate

float

CustomsFees

float

DailyRate

float

DemurrageDays

int

DistanceKm

float

FreightCost

float

FuelPricePerLiter

float

InsuranceCost

float

ProductCost

float

TariffDuty

float

TotalRevenue

float

WeightKg

float

DeliveryPerformanceInputs

struct

Delivery performance inputs - on-time rate, perfect order rate, damage/return rates

Source: LogisticsExecutionEngine.cs

Constants and Fields

CorrectOrders

int

DamagedItems

int

OnTimeDeliveries

int

PerfectOrders

int

ReturnedOrders

int

TotalDeliveries

int

TotalItems

int

TotalOrders

int

DemandForecastingInputs

struct

Demand forecasting inputs - moving average, exponential smoothing, accuracy tracking

Source: LogisticsExecutionEngine.cs

Constants and Fields

ActualDemand

float

ForecastDemand

float

HistoricalDemand

float[]

PeriodCount

int

SmoothingAlpha

float

FleetPerformanceInputs

struct

Fleet performance inputs - utilization, payload, fuel, emissions, costs

Source: LogisticsExecutionEngine.cs

Constants and Fields

ActiveHours

float

ActualWeightKg

float

AvailableHours

float

EmissionFactorKgPerL

float

FuelConsumptionPerVehicle

float

MaintenanceCost

float

MaxWeightKg

float

OperatingCost

float

VehicleCount

int

InventoryOptimizationInputs

struct

Inventory optimization inputs - EOQ, safety stock, reorder point, KPIs

Source: LogisticsExecutionEngine.cs

Constants and Fields

AnnualDemand

float

AverageDailyDemand

float

AverageInventoryUnits

float

AverageInventoryValue

float

CarryingRatePercent

float

CostOfGoodsSold

float

DemandStdDev

float

HoldingCostPerUnit

float

LeadTimeDays

float

OrderCost

float

OrdersFulfilled

int

ServiceLevel

float

TotalOrders

int

UnitCost

float

LoadOptimization3DInputs

struct

3D load optimization inputs - pallet/container loading with stability

Source: LogisticsExecutionEngine.cs

Constants and Fields

BoxHeightCm

float

BoxLengthCm

float

BoxWeightKg

float

BoxWidthCm

float

CargoVolumeCubicMeters

float

CargoWeightKg

float

MaxWeightKg

float

PalletHeightCm

float

PalletLengthCm

float

PalletWidthCm

float

LogisticsExecutionEngine

static class

Logistics domain execution engine.
Orchestrates all 15 production logistics networks with zero allocation.

Source: LogisticsExecutionEngine.cs

MultiModalTransportationInputs

struct

Multi-modal transportation inputs - truck, rail, ship, air legs

Source: LogisticsExecutionEngine.cs

Constants and Fields

AirDistanceKm

float

RailDistanceKm

float

ShipDistanceKm

float

TruckDistanceKm

float

WeightKg

float

NetworkOptimizationInputs

struct

Network optimization inputs - facility location, center of gravity, service radius

Source: LogisticsExecutionEngine.cs

Constants and Fields

FacilityCapacity

float

FacilityFixedCost

float

FacilityLatitude

double

FacilityLongitude

double

FacilityVariableCost

float

LocationCount

int

TotalDemandUnits

float

TotalTransportationCost

float

TotalWeightKg

float

OrderToCashCycleInputs

struct

Order-to-cash cycle inputs - DSO, cash conversion cycle, working capital

Source: LogisticsExecutionEngine.cs

Constants and Fields

AccountsReceivable

float

AnnualRevenue

float

DailyCOGS

float

InventoryValue

float

InvoiceDate

long

OrderDate

long

PaymentDate

long

ShipDate

long

RiskAssessmentInputs

struct

Supply chain risk assessment inputs - route risk, supplier reliability, resilience

Source: LogisticsExecutionEngine.cs

Constants and Fields

AlternativeRouteCount

int

AlternativeSupplierCount

int

DemandVolatility

float

GeopoliticalRisk

float

InfrastructureRisk

float

LeadTimeVariability

float

WeatherRisk

float

RouteOptimizationInputs

struct

Route optimization inputs - single origin-destination route analysis

Source: LogisticsExecutionEngine.cs

Constants and Fields

BaseFuelRatePer100km

float

EmissionFactorKgPerL

float

Latitude1

double

Latitude2

double

Longitude1

double

Longitude2

double

MaxPayloadKg

float

RiskFactor

float

TransportMode

int

WeightKg

float

SystemHealthInputs

struct

System health inputs - error rates, response time, memory usage

Source: LogisticsExecutionEngine.cs

Constants and Fields

AverageResponseTimeMs

float

FailedOperations

int

MemoryUsageMB

float

SuccessfulOperations

int

TotalOperations

int

VehicleRoutingProblemInputs

struct

Vehicle Routing Problem (VRP) inputs - TSP with time windows

Source: LogisticsExecutionEngine.cs

Constants and Fields

StopCount

int

StopLatitudes

double[]

StopLongitudes

double[]

TimeWindowEnds

float[]

TimeWindowStarts

float[]

VehicleCapacity

float

WarehouseOperationsInputs

struct

Warehouse operations inputs - picking, storage density, cube utilization

Source: LogisticsExecutionEngine.cs

Constants and Fields

HoursWorked

float

ItemCount

int

ItemsVolume

float

LinesPicked

int

TotalStorageVolume

float

VolumeCubicMeters

float

X1

float

X2

float

Y1

float

Y2

float


Generated from GTOS Savants source -- 2026-03-22

SILVIA is a registered Trademark of Cognitive Code Corp.