mirror of
				https://github.com/RAIRLab/Spectra.git
				synced 2025-10-26 22:51:19 +00:00 
			
		
		
		
	Matching the uninformed heuristic default
This commit is contained in:
		
							parent
							
								
									edde3cc8e5
								
							
						
					
					
						commit
						967b859ecc
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -3,7 +3,8 @@ package org.rairlab.planner.heuristics; | |||
| import org.rairlab.planner.State; | ||||
| 
 | ||||
| public class ConstantHeuristic { | ||||
|     // Uninformed heuristic | ||||
|     public static int h(State s) { | ||||
|         return 1; | ||||
|         return 0; | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue