Compute the Probability of Brain Neuron Connections
In a piece of brain cortex with 100 neurons, the neurons are connected by synapses if they are at a distance less than 0.2. Find the probability that the network is connected.
Wolfram Language code: 𝒢 = SpatialGraphDistribution[100, 0.2];Wolfram Language code: RandomGraph[𝒢]
Find the probability that the network is connected:
Wolfram Language code: NProbability[x == 1, x GraphPropertyDistribution[Boole[ConnectedGraphQ[g]], g 𝒢]]