*
*@param elemento edge to be removed
*/
private void removeArco(Edge elemento) {
Node auxNo;
ITabledVariable auxTabledVariable;
PotentialTable auxPotentialTable;
edgeList.remove(elemento);
auxNo = elemento.getDestinationNode();
if (auxNo instanceof ITabledVariable) {
auxTabledVariable = (ITabledVariable)auxNo;
auxPotentialTable = auxTabledVariable.getPotentialTable();
auxPotentialTable.removeVariable(elemento.getOriginNode(), true);
}
}