infovis.utils
Class RowIsLeafGenerator

java.lang.Object
  extended by infovis.utils.RowIsLeafGenerator
All Implemented Interfaces:
RowDoubleValueGenerator

public class RowIsLeafGenerator
extends Object
implements RowDoubleValueGenerator

Generate value 1 for leaf nodes and 0 for interior nodes.

Version:
$Revision: 1.1 $
Author:
Jean-Daniel Fekete

Constructor Summary
RowIsLeafGenerator(Tree tree)
           
 
Method Summary
 double generate(int row)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowIsLeafGenerator

public RowIsLeafGenerator(Tree tree)
Method Detail

generate

public double generate(int row)
Specified by:
generate in interface RowDoubleValueGenerator


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.