Jedit 4.2

edu.bsu.cs.algorithm
Class MultiSequence

java.lang.Object
  extended by edu.bsu.cs.algorithm.Algorithm
      extended by edu.bsu.cs.algorithm.MultiSequence

public class MultiSequence
extends Algorithm

Generates a representative graph based on a series of degrees of vertices (whole numbers).

Since:
26 Jan 1998
Version:
4 Nov 1999
Author:
Aaron Nall, Vellanki Kiran

Constructor Summary
MultiSequence()
           
MultiSequence(JavaGraph jGraph, Vector sequenceVector, Vector animationVector)
           
 
Method Summary
 void callOwnConstructor(JavaGraph jGraph, Vector inputs, Vector animationVector)
          This method is called by Jedit for any algorithm it executes and must be used in any working algorithm.
protected  void multiSequence(JavaGraph jGraph, Vector sequenceVector, Vector animationVector)
           
protected  void thatMultiSequence()
           
 
Methods inherited from class edu.bsu.cs.algorithm.Algorithm
getCode, getDescription, getName, getType, parseTextInput, setCode, setDescription, setFromResources, setName, setType, succeeded, succeeded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiSequence

public MultiSequence()

MultiSequence

public MultiSequence(JavaGraph jGraph,
                     Vector sequenceVector,
                     Vector animationVector)
Method Detail

thatMultiSequence

protected void thatMultiSequence()

multiSequence

protected void multiSequence(JavaGraph jGraph,
                             Vector sequenceVector,
                             Vector animationVector)

callOwnConstructor

public void callOwnConstructor(JavaGraph jGraph,
                               Vector inputs,
                               Vector animationVector)
Description copied from class: Algorithm
This method is called by Jedit for any algorithm it executes and must be used in any working algorithm.

Specified by:
callOwnConstructor in class Algorithm
Parameters:
jGraph - the edu.bsu.cs.graph.JavaGraph that the algorithm is performed on
inputs - a Vector of inputs that consists of
  • An Integer, if the algorithm uses a single vertex as a starting point
  • Two Integers if the algorithm uses two vertices as starting points
  • A String if the algorithm starts off of typed input
  • Nothing if the algorithm runs automatically on a graph
animationVector - a Vector that is filled with AnimObjects as the algorithm proceeds. It must be instantiated before this method is called.

Jedit 4.2