* Inserts the desired node inside a network creating a default state, symbol and description.
* @param x The x position.
* @param y The y position.
*/
public Node insertUtilityNode(double x, double y) {
UtilityNode node = new UtilityNode();
node.setPosition(x, y);
node.setName(resource.getString("utilityNodeName")
+ singleEntityNetwork.getNodeCount());
node.setDescription(node.getName());
IProbabilityFunction auxTab = ((IRandomVariable) node).getProbabilityFunction();
auxTab.addVariable(node);
singleEntityNetwork.addNode(node);
return node;