.. index:: D-Separation (Operation)

.. _d_separation_operation:

D-Separation (Operation)
========================

Determining the :ref:`d-relations<d_separation_theory>` in a network can be done in Hugin when in run-mode. This is done using the operations available in the D-Separation submenu of the :ref:`Network menu<network_menu>`.

When a d-separation operation has been performed, the visual representation of the network changes to show the result of the operation. A node can be represented in five different ways depending on its role in the operation:


|d-separation1| The source node. That is, the node whose relation to all the target nodes will be determined.

|d-separation2| A connected target node. That is, the source node is d-connected to this node.

|d-separation3| A separated target node. That is, the source node is d-separated from this node.

|d-separation4| An instantiated node. The d-relation to the source node is not determined.

|d-separation5| An "anonymous" node. That is, a node which is none of the above. 

.. |d-separation1| image:: images/D-separation1.png
	:width: 150

.. |d-separation2| image:: images/D-separation2.png
	:width: 150

.. |d-separation3| image:: images/D-separation3.png
	:width: 150

.. |d-separation4| image:: images/D-separation4.png
	:width: 150

.. |d-separation5| image:: images/D-separation5.png
	:width: 150


* **Show D-Separation**

This operation will display all nodes d-seperated from the currently selected node.

* **Show Markov Blanket**

This operation will display the :ref:`Markov Blanket<markov_blanket>`. for the currently selected node.

