com.rubecula.darwin.domain.world
Class Census_Detail
java.lang.Object
com.rubecula.darwin.domain.helper.Sink_
com.rubecula.darwin.domain.helper.Census_Sink
com.rubecula.darwin.domain.world.Census_Darwinian
com.rubecula.darwin.domain.world.Census_Detail
- All Implemented Interfaces:
- Census, Sink, SinkCensus, java.io.Closeable, java.io.Flushable, java.lang.Appendable
public final class Census_Detail
- extends Census_Darwinian
Implementation of SinkCensus
specifically which tries to do sensible
things for general types of phenotypes and genotypes. This implementer
reports on the mean allelic and traitic values, as well as identifying the
numbers of each type of allele.
TODO Consider having more intelligence here regarding the level of detail to
show.
- Author:
- Robin Hillyard
Fields inherited from class com.rubecula.darwin.domain.helper.Sink_ |
LOG |
Fields inherited from interface com.rubecula.darwin.domain.helper.Sink |
NEWLINE |
Constructor Summary |
Census_Detail(java.io.PrintWriter printWriter)
|
Method Summary |
void |
census(Censusible censusible,
int depth,
java.lang.Object context)
Collect and process census information about the individual specified. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Appendable |
append, append |
Census_Detail
public Census_Detail(java.io.PrintWriter printWriter)
- Parameters:
printWriter
-
census
public void census(Censusible censusible,
int depth,
java.lang.Object context)
- Description copied from interface:
Census
- Collect and process census information about the individual specified.
- Specified by:
census
in interface Census
- Overrides:
census
in class Census_Sink
- Parameters:
censusible
- the object to be censused.depth
- the number of levels of depth which shall be censused
below this object.context
- an arbitrary object which defines the context in which this
census is happening.- See Also:
Census_Sink.census(Censusible,
int, Object)
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.