first commit -push

This commit is contained in:
dungtt
2025-10-15 15:15:53 +07:00
parent 674ae395be
commit a9577c5756
885 changed files with 74595 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using RobotNet.RobotShares.Enums;
namespace RobotNet.RobotManager.Services.Planner.ForkliftV2;
#nullable disable
public class SSEAStarNode
{
public Guid Id { get; set; }
public double X { get; set; }
public double Y { get; set; }
public RobotDirection Direction { get; set; }
public double Cost { get; set; }
public double Heuristic { get; set; }
public double TotalCost => Cost + Heuristic;
public string Name { get; set; }
public SSEAStarNode Parent { get; set; }
public List<SSEAStarNode> NegativeNodes { get; set; } = [];
public override bool Equals(object obj)
{
if (obj is SSEAStarNode other)
return Id == other.Id && Direction == other.Direction;
return false;
}
public override int GetHashCode()
{
return HashCode.Combine(Id, Direction);
}
}