Beispiel #1
0
func BenchmarkAradRBFS(b *testing.B) {
	for i := b.N; i >= 0; i-- {
		graph.RecursiveBestFirstSearch(New(Arad))
	}
}
Beispiel #2
0
func ExampleNew() {
	fmt.Println(graph.RecursiveBestFirstSearch(New(Arad)))
	// Output: [Sibiu RimnicuVilcea Pitesti Bucharest]
}
Beispiel #3
0
func ExampleTilesRbfs() {
	fmt.Println(graph.RecursiveBestFirstSearch(New(X, 0x01234567)))
}