2 * Copyright (c) 2015 Huawei, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.nemo.intent.algorithm;
\r
12 * A vertex in the network topology.
\r
14 * @author Zhigang Ji
\r
16 public class Vertex {
\r
19 public Vertex(String id) {
\r
27 public String getId() {
\r
32 public boolean equals(Object obj) {
\r
33 return ((Vertex)obj).getId().equals(id);
\r
37 public String toString() {
\r
39 "id='" + id + '\'' +
\r