/* * JFLAP - Formal Languages and Automata Package * * * Susan H. Rodger * Computer Science Department * Duke University * August 27, 2009 * Copyright (c) 2002-2009 * All rights reserved. * JFLAP is open source software. Please see the LICENSE for terms. * */ package automata.vdg; import automata.Automaton; /** * This subclass of Automaton is specifically for a variable * dependency graph used in the transformation of grammars (e.g. removing unit * productions). * * @author Ryan Cavalcante */ public class VariableDependencyGraph extends Automaton { /** * Creates a variable dependency graph with no states and no transitions. */ public VariableDependencyGraph() { super(); } /** * Returns the class of Transition this automaton must * accept. * * @return the Class object for automata.vdg.VDGTransition */ protected Class getTransitionClass() { return automata.vdg.VDGTransition.class; } }