Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Representation and Evolution of Lego-based Assemblies Maxim Peysakhov William C. Regli ( Drexel University) Authors: {umpeysak,

Similar presentations


Presentation on theme: "1 Representation and Evolution of Lego-based Assemblies Maxim Peysakhov William C. Regli ( Drexel University) Authors: {umpeysak,"— Presentation transcript:

1 1 Representation and Evolution of Lego-based Assemblies Maxim Peysakhov William C. Regli ( Drexel University) Authors: {umpeysak, regli}@mcs.drexel.edu Geometric and Intelligent Computing Lab Department of Math. and Computer Science Korman Computing Center Drexel University Philadelphia, PA 19104 (215) 895-6827 http://edge.mcs.drexel.edu/GICL/ Contacts: Advisor:

2 2 Project Objectives Use GAs to generate Lego assemblies. Represent Lego assemblies precisely and unambiguously Encode assemblies as a chromosomes Adapt genetic operators to Lego domain Perform Genetic optimization on Lego structures

3 3 Background: Previous Work on Using GA to Generate Lego Designs Previous work in this field was done by J. B. Pollack and P. J. Funes, and described at J. B. Pollack, P. J. Funes “Computer Evolution of Buildable Objects.” Fourth European Conference on Artificial Life, P. Husbands and I. Harvey, eds., MIT Press 1997. pp 358-367, 1997. They used: Networks of torque propagation to model the behavior of the Lego structure under stress Assembly tree representation of the Lego structures Genetic programming operators

4 4 Example of a simple Lego mechanism Approach: Problem Formulation We are considering a set of blocks from a Lego Mindstorms robot kits Lego represents a complex design domain that includes a variety of realistic engineering constraints The domain is sufficiently discrete as to be tractable Many tools for simulation and testing are readily available

5 5 A grammar designed to handle thee- dimensional structures assembled from Lego elements: Context-free. Graph grammar. Parameterized. Approach: Problem Formalization.

6 6 Approach: Representation of Lego Assemblies Example Lego structure with assembly graph Structure is represented by directed labeled assembly graph G Set N(G) of nodes n, represents elements. (The node label contains the type and the parameters of the element) Set E(G) of edges e, represents connections. ( The edge label contains the type and the parameters of the connection)

7 7 Approach: Example of an Assembly Graph Example of the assembly graph for the Lego car.

8 8 The chromosome is represented by: Key value of the hash table is used to represent  function of the graph G, and defines the position and direction of an edge: Approach: GA Encoding Scheme Chromosome of the example structure array containing all nodes N(G) called Genome adjacency hash table containing all edges E(G) Key "1>3" means that the edge is located between nodes 1 and 3 and is directed to node number 3 Key "1>3" is equivalent to key "3<1”

9 Approach: Genetic Operators Sample structure after Cut. Sample structure after Splice. Sample structure with a mutated beam. ( 1+  P i (a i ) ) ( 1+  P i (b i ) +  P i (|c i - t i |) ) Initial population is random Mutation operator replaces selected element with a random Lego element of the same type Crossover is performed with the help of two genetic operators: cut and splice Evaluation function was created according to the following form:

10 Approach: Handling Over-specified and Under-specified Chromosomes Example of the blocks sharing same physical space (left) and infeasible connection edges (right). Under-specification => disjoint assembly graph An over-specified chromosome => blocks sharing the same physical space edges that imply two different locations for the same node The submissive sub-graph is not deleted from the chromosome, but is ignored in most calculations.

11 11 System Overview Our system was extended from sGA originally created by Stephen Hartley in 1996 and written on the Java programming language. ( http://www.mcs.drexel.edu/~shartley/ConcProgJava/GA/Simple ) Java3D package and VRML97 were used in order to create a visualizer to monitor Lego structures as they evolve. The system supports: One-point crossover Proportional, rank, universal stochastic sampling, sigma scaling, and Boltzman selection techniques Elitism And allows input of the mutation and crossover rates and the population size

12 12 Examples: 10x10x10 Light Structure Goal: evolve a structure size of 10 Lego units in each x-y-z dimension and minimal weight. Left structure: created at 895th generation, size 10x10x6.8 Right structure: created at 3367th generation, size 10x10x10. Both structures among the lightest possible structures that satisfy these parameters that can be created from the set of elements given.

13 13 Examples: P illar-Like Dense Structure Height 20, 40 and 60 from right to left Goal: evolve a dense pillar-like structure with a 2 by 4 base and 20, 40 and 60 units height All of them exactly match desired size and among densest possible structures

14 14 Future Work and Enhancements: Contribution: We introduced our approach, prototype system and initial experimental results toward the evolution of Lego structures: Conclusions. More types of Lego elements and connections Using guided and/or seeded initialization Improving a mutation operator Promote generation of modules ‘organs’ via modified crossover operator Graph based representation scheme for Lego Assemblies Graph grammar for use in representing Lego assemblies

15 Using Graph Grammars and Genetic Algorithms to Represent and Evolve Lego Assemblies Maxim Peysakhov, Vlada Galinskaya William C. Regli ( Drexel University) Authors: {umpeysak, uvgalins, regli}@mcs.drexel.edu Geometric and Intelligent Computing Lab Department of Math. and Computer Science Korman Computing Center Drexel University Philadelphia, PA 19104 (215) 895-6827 http://edge.mcs.drexel.edu/GICL/ Contacts:


Download ppt "1 Representation and Evolution of Lego-based Assemblies Maxim Peysakhov William C. Regli ( Drexel University) Authors: {umpeysak,"

Similar presentations


Ads by Google