Enhance AI and simulation components with presence management and routing capabilities
- Introduced the `HSchool.Ai` project, responsible for routing, day plans, and presence management. - Updated the `HSchool.Simulation` project to integrate with the new AI functionalities, improving decision-making and presence tracking. - Added `travelMinutes` to room and territory definitions, ensuring accurate movement calculations within the simulation. - Enhanced the `School` class to manage presence and implement empty-time skipping functionality. - Updated documentation to reflect the new AI features and their impact on school simulation. - Added tests for presence management and routing to ensure robust functionality and reliability.
This commit is contained in:
@@ -494,7 +494,8 @@ internal sealed class GameLoopService(
|
||||
isNew: false,
|
||||
save.ModIds,
|
||||
save.Map,
|
||||
save.NameSetId);
|
||||
save.NameSetId,
|
||||
save.Presence);
|
||||
worker.Start();
|
||||
|
||||
try
|
||||
@@ -541,7 +542,8 @@ internal sealed class GameLoopService(
|
||||
bool isNew,
|
||||
IReadOnlyList<string>? modIds,
|
||||
MapLayout? map,
|
||||
string? nameSetId) =>
|
||||
string? nameSetId,
|
||||
IReadOnlyList<PresenceSnapshot>? presence = null) =>
|
||||
new(
|
||||
id,
|
||||
name,
|
||||
@@ -552,6 +554,7 @@ internal sealed class GameLoopService(
|
||||
modIds,
|
||||
map,
|
||||
nameSetId,
|
||||
presence,
|
||||
_options,
|
||||
clients,
|
||||
metrics,
|
||||
|
||||
Reference in New Issue
Block a user