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