infovis.utils
Class RowIsLeafGenerator
java.lang.Object
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
RowIsLeafGenerator
public RowIsLeafGenerator(Tree tree)
generate
public double generate(int row)
- Specified by:
generate
in interface RowDoubleValueGenerator
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.