func (c *cluster) PrintClusterState() {
	fmt.Println("\nCluster state:")
	for i := range c.nodes {
		fmt.Printf("Node %d: %+v\n", c.nodes[i].id, c.nodes[i].gcounter)
	}
	fmt.Println("")
}
// PrintClusterState displays the state of the cluster on stdout.
PrintClusterState displays the state of the cluster on stdout.
// PrintClusterState displays the state of the cluster on stdout .
func (c *cluster) PrintClusterState() {
	fmt.Println("\nCluster state:")
	for i := range c.nodes {
		fmt.Printf("Node %d: %+v\n", c.nodes[i].id, c.nodes[i].gcounter)
	}
	fmt.Println("")
}
func ( c * cluster ) PrintClusterState ( ) { fmt . Println ( " \n " ) for i := range c . nodes { fmt . Printf ( " \n " , c . nodes [ i ] . id , c . nodes [ i ] . gcounter ) } fmt . Println ( " " ) }
PrintClusterState displays the state of the cluster on stdout.
PrintClusterState displays the state of the cluster on stdout .