
Examples
========

Basic Simulation
----------------

.. literalinclude:: ../examples/basic_simulation.py
   :language: python
   :linenos:

What-If Throughput
------------------

.. literalinclude:: ../examples/what_if_throughput.py
   :language: python
   :linenos:

SINR Heatmap
------------

.. literalinclude:: ../examples/sinr_heatmap_demo.py
   :language: python
   :linenos:



PF Scheduling and Association
-----------------------------

.. literalinclude:: ../examples/pf_multicell_demo.py
   :language: python
   :linenos:

Handover (Hysteresis + Time-to-Trigger)
---------------------------------------

.. literalinclude:: ../examples/handover_demo.py
   :language: python
   :linenos:

RIS-Enhanced Propagation (Toy)
------------------------------

.. literalinclude:: ../examples/ris_enhanced_demo.py
   :language: python
   :linenos:



Config-Driven Experiment
------------------------

.. code-block:: bash

   python -m pytwinnet.cli run configs/het_net_placement.yaml

