com.ibm.wala.util.graph.impl.BasicGraph Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.ibm.wala.util Show documentation
Show all versions of com.ibm.wala.util Show documentation
T. J. Watson Libraries for Analysis
The newest version!
/*
* Copyright (c) 2021 IBM Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Manu Sridharan - initial API and implementation
*/
package com.ibm.wala.util.graph.impl;
import com.ibm.wala.util.graph.AbstractGraph;
import com.ibm.wala.util.graph.EdgeManager;
import com.ibm.wala.util.graph.NodeManager;
/**
* Basic implementation of a {@link com.ibm.wala.util.graph.Graph}. Does not support node or edge
* deletion.
*/
public class BasicGraph extends AbstractGraph {
private final NodeManager nodeManager = new BasicNodeManager<>();
private final EdgeManager edgeManager = new BasicEdgeManager<>();
@Override
protected NodeManager getNodeManager() {
return nodeManager;
}
@Override
protected EdgeManager getEdgeManager() {
return edgeManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy