ECJ-INTEREST-L Archives

January 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Type:
text/plain; charset="windows-1252"
Date:
Sat, 18 Jan 2014 15:13:14 -0500
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Content-Transfer-Encoding:
8bit
In-Reply-To:
MIME-Version:
1.0 (Mac OS X Mail 7.0 \(1812\))
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (40 lines)
Again, this question doesn’t make sense. 

Sean

On Jan 18, 2014, at 11:14 AM, milan bhatt <[log in to unmask]> wrote:

> Hello, 
>              I need some solution for the code given below, In this code, I want variables. I want to know that which variables returns from GPInitializer.
> 
> 
>        GPType typ = (GPType)(e.nextElement());
>         
>         // make vectors for the type.
>         Vector nodes_v = new Vector();
>         Vector terminals_v = new Vector();
>         Vector nonterminals_v = new Vector();
> 
>         // add GPFuncInfos as appropriate to each vector
>         Enumeration v = tmp.elements();
>         while (v.hasMoreElements())
>             {
>             GPFuncInfo i = (GPFuncInfo)(v.nextElement());
>            
>             if (typ.compatibleWith(i.node.constraints().returntype,typ))
>                 {
>                 nodes_v.addElement(i);
>                 if (i.node.children.length == 0)
>                     terminals_v.addElement(i);
>                 else nonterminals_v.addElement(i);
>                 }
>             }
> 
> 
> 
> 
> 
> 
> Best Regards,
>    Milan

ATOM RSS1 RSS2