mirror of
https://github.com/dancojocaru2000/ai-project-idastar.git
synced 2025-02-23 00:49:34 +02:00
Removed unnecessary comments
This commit is contained in:
parent
2a5c3cdbb9
commit
1cc2a88d8b
2 changed files with 0 additions and 16 deletions
15
IDAstar.cs
15
IDAstar.cs
|
@ -1,7 +1,6 @@
|
|||
using System.Runtime.Versioning;
|
||||
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections;
|
||||
|
||||
[assembly: RequiresPreviewFeatures()]
|
||||
|
||||
|
@ -243,19 +242,5 @@ namespace IdaStar
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
IDA*( state s, int g, threshold t ) {
|
||||
h = Eval( s );
|
||||
if( h == 0 ) return( true );
|
||||
|
||||
f = g + h;
|
||||
if( f > threshold ) return( false );
|
||||
|
||||
for( i = 1; i <= numchildren; i++ ) {
|
||||
done = IDA*( s.child[ i ], g + cost( child[ i ] ), t );
|
||||
if( done == true ) return( true );
|
||||
}
|
||||
return( false );
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
@ -157,5 +157,4 @@ void PrintBoard(int threshold, bool done, bool clearScreen = true){
|
|||
Console.ResetColor();
|
||||
Console.WriteLine();
|
||||
Thread.Sleep(200);
|
||||
// Console.ReadLine();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue