gov.sns.xal.model.gen
Class LatticeGenerator

java.lang.Object
  |
  +--gov.sns.xal.model.gen.LatticeGenerator

public class LatticeGenerator
extends java.lang.Object


Constructor Summary
LatticeGenerator()
          Creates a new instance of LatticeGenerator
 
Method Summary
 Lattice generate(AcceleratorSeq seq)
          Generate a lattice model object for the given AcceleratorSeq object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatticeGenerator

public LatticeGenerator()
Creates a new instance of LatticeGenerator

Method Detail

generate

public Lattice generate(AcceleratorSeq seq)
Generate a lattice model object for the given AcceleratorSeq object. Finds a collection of accelerator nodes at each unique position, and builds the lattice elements for that collection using the generation rule registered in the GenerationManager.

Parameters:
seq - Accelerator sequence to build a Lattice for
Returns:
a Lattice that models the supplied accelerator sequence