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