public WeightedEdge(Node source, Node target, int type, Double weight) throws MaltChainedException { super(source, target, type); setWeight(weight); }