Remove crafty namespace from solver
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Craftimizer.Solver;
|
||||
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public sealed class RootScores
|
||||
{
|
||||
public float ScoreSum;
|
||||
public float MaxScore;
|
||||
public int Visits;
|
||||
|
||||
public void Visit(float score)
|
||||
{
|
||||
ScoreSum += score;
|
||||
MaxScore = Math.Max(MaxScore, score);
|
||||
Visits++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user