All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbpt.algo.tree.tctree.TCTreeNode Maven / Gradle / Ivy

package org.jbpt.algo.tree.tctree;

import org.jbpt.graph.abs.IEdge;
import org.jbpt.hypergraph.abs.IVertex;
import org.jbpt.hypergraph.abs.Vertex;

/**
 * Implementation of the node of the tree of the triconnected components.
 * 
 * @author Artem Polyvyanyy
 *
 * @param  Edge template.
 * @param  Vertex template.
 */
public class TCTreeNode, V extends IVertex> extends Vertex {
	// node type
	protected TCType type = TCType.UNDEFINED;
	// skeleton
	protected TCSkeleton skeleton = new TCSkeleton();
	// boundary vertices of the fragment

	public TCType getType() {
		return this.type;
	}
	
	public TCSkeleton getSkeleton() {
		return this.skeleton;
	}
	
	@Override
	public String toString() {
		return this.getName() + " - skeleton: " + this.skeleton + " virtual: " + this.skeleton.virtualEdges;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy