Algorithm
Development Kit 1.0

algs.debug.drawers
Class DiscardedNodeDrawer

java.lang.Object
  extended by algs.debug.drawers.DiscardedNodeDrawer
All Implemented Interfaces:
INodeDrawer

public class DiscardedNodeDrawer
extends java.lang.Object
implements INodeDrawer

Capable of drawing discarded nodes in the DOTTY debugging output.

Not used to date.

Since:
1.0
Version:
1.0, 6/15/08
Author:
George Heineman

Constructor Summary
DiscardedNodeDrawer()
           
 
Method Summary
 java.lang.String draw(IGraphEntity n)
          Discarded nodes are drawn in grayscale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscardedNodeDrawer

public DiscardedNodeDrawer()
Method Detail

draw

public java.lang.String draw(IGraphEntity n)
Discarded nodes are drawn in grayscale.

Specified by:
draw in interface INodeDrawer
Parameters:
n - node to be drawn as discarded.

Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.