Wolfram 语言与系统 10.0 (2014)|旧版文档

此为更早版本的 Wolfram 语言文档查看最新文档(版本11.2)
WOLFRAM 语言范例

Model and Analyze Wireless Ad-Hoc Networks

Thirty paratroopers are uniformly parachuted into the battlefield from the air. Find the expected largest number of troops that can communicate directly or indirectly with each other using handheld transceivers with a 0.2 unit range.

Model the communication network between paratroopers:
In[29]:=
Click for copyable input
The expected largest number of troops that can communicate directly or indirectly:
In[30]:=
Click for copyable input
In[31]:=
Click for copyable input
Out[31]=
The expected size of the largest clique that can communicate directly:
In[32]:=
Click for copyable input
In[34]:=
Click for copyable input
Out[34]=