EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.dsexplore.opt4j.representation]

COVERAGE SUMMARY FOR SOURCE FILE [DSEModule.java]

nameclass, %method, %block, %line, %
DSEModule.java0%   (0/1)0%   (0/5)0%   (0/31)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DSEModule0%   (0/1)0%   (0/5)0%   (0/31)0%   (0/13)
DSEModule (): void 0%   (0/1)0%   (0/6)0%   (0/2)
config (): void 0%   (0/1)0%   (0/12)0%   (0/5)
configure (): void 0%   (0/1)0%   (0/6)0%   (0/3)
isUseGui (): boolean 0%   (0/1)0%   (0/3)0%   (0/1)
setUseGui (boolean): void 0%   (0/1)0%   (0/4)0%   (0/2)

1package de.uka.ipd.sdq.dsexplore.opt4j.representation;
2 
3import org.opt4j.config.annotations.Name;
4import org.opt4j.core.problem.Creator;
5import org.opt4j.core.problem.Decoder;
6import org.opt4j.core.problem.Evaluator;
7import org.opt4j.core.problem.ProblemModule;
8 
9 
10public class DSEModule extends ProblemModule {
11 
12        @Name("Use the GUI?")
13        boolean useGui = false;
14 
15        public boolean isUseGui() {
16                return useGui;
17        }
18 
19        public void setUseGui(boolean useGui) {
20                this.useGui = useGui;
21        }
22 
23        @Override
24        public void configure() {
25                //bind(DSENeighbor.class).asEagerSingleton();
26                bindProblem(DSECreator.class, DSEDecoder.class,
27                                DSEEvaluator.class);
28 
29        }
30 
31        //@Override
32        @Override
33        protected void config() {
34                
35                //bind(DSENeighbor.class).asEagerSingleton();
36                
37                Class<? extends Creator<?>> creator = DSECreator.class;
38                Class<? extends Decoder<?, ?>> decoder = DSEDecoder.class;
39                Class<? extends Evaluator<?>> evaluator = DSEEvaluator.class;
40                
41                bindProblem(creator, decoder, evaluator);
42                
43                //This did not work, so I moved it to Opt4JStarter.runTask(..)
44                //bindIndividualStateListener(DSEIndividualStateListener.class);
45 
46                
47                
48        }
49 
50}

[all classes][de.uka.ipd.sdq.dsexplore.opt4j.representation]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov