Class EmptyTreeGenerator<U>
java.lang.Object
es.uam.eps.ir.relison.graph.generator.EmptyTreeGenerator<U>
- Type Parameters:
- U- Type of the users
- All Implemented Interfaces:
- GraphGenerator<U>
public class EmptyTreeGenerator<U> extends java.lang.Object implements GraphGenerator<U>
Empty tree generator.
- 
Field SummaryFields Modifier and Type Field Description private booleanconfiguredIndicates if the graph generator has been configured.private booleanweightedIndicates if the tree has weights.
- 
Constructor SummaryConstructors Constructor Description EmptyTreeGenerator()
- 
Method Summary
- 
Field Details- 
configuredprivate boolean configuredIndicates if the graph generator has been configured.
- 
weightedprivate boolean weightedIndicates if the tree has weights.
 
- 
- 
Constructor Details- 
EmptyTreeGeneratorpublic EmptyTreeGenerator()
 
- 
- 
Method Details- 
configurepublic void configure(java.lang.Object... configuration)Description copied from interface:GraphGeneratorConfigures the generator.- Specified by:
- configurein interface- GraphGenerator<U>
- Parameters:
- configuration- An array containing the configuration parameters.
 
- 
configurepublic void configure(boolean weighted)Configures the tree generator- Parameters:
- weighted- if the tree is going to be weighted.
 
- 
generateDescription copied from interface:GraphGeneratorGenerates a graph.- Specified by:
- generatein interface- GraphGenerator<U>
- Returns:
- the generated graph.
- Throws:
- GeneratorNotConfiguredException- The generator is not configured.
 
 
-