org.rubato.logeo
Class FormFactory

java.lang.Object
  extended by org.rubato.logeo.FormFactory

public final class FormFactory
extends java.lang.Object

Static utility class for building forms.

Author:
Gérard Milmeister

Method Summary
static SimpleForm makeCModuleForm(java.lang.String name)
          Builds a simple form consisting of the module of complex numbers.
static ColimitForm makeColimitForm(java.lang.String name, Form... forms)
          Builds a colimit form with several coordinate forms.
static ColimitForm makeColimitForm(java.lang.String name, java.util.List<Form> forms)
          Builds a colimit form with coordinate forms given as a list.
static LimitForm makeLimitForm(java.lang.String name, Form... forms)
          Builds a limit form with several coordinate forms.
static LimitForm makeLimitForm(java.lang.String name, java.util.List<Form> forms)
          Builds limit form with coordinate forms given as a list.
static ListForm makeListForm(java.lang.String name, Form form)
          Builds a list form with a given coordinate form.
static SimpleForm makeModuleForm(java.lang.String name, Module module)
          Builds a simple form consisting of the indicated module.
static PowerForm makePowerForm(java.lang.String name, Form form)
          Builds a power form with a given coordinate form.
static SimpleForm makeQModuleForm(java.lang.String name)
          Builds a simple form consisting of the module of rationals.
static SimpleForm makeRModuleForm(java.lang.String name)
          Builds a simple form consisting of the module of reals.
static SimpleForm makeZModuleForm(java.lang.String name)
          Builds a simple form consisting of the module of integers.
static SimpleForm makeZnModuleForm(java.lang.String name, int p)
          Builds a simple form consisting of the module of integers modulo p.
static SimpleForm makeZStringModuleForm(java.lang.String name)
          Builds a simple form consisting of the module of strings with integer factors.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeZModuleForm

public static SimpleForm makeZModuleForm(java.lang.String name)
Builds a simple form consisting of the module of integers.

Parameters:
name - the name of the new form

makeZnModuleForm

public static SimpleForm makeZnModuleForm(java.lang.String name,
                                          int p)
Builds a simple form consisting of the module of integers modulo p.

Parameters:
name - the name of the new form
p - the modulus of the ZnModule

makeRModuleForm

public static SimpleForm makeRModuleForm(java.lang.String name)
Builds a simple form consisting of the module of reals.

Parameters:
name - the name of the new form

makeQModuleForm

public static SimpleForm makeQModuleForm(java.lang.String name)
Builds a simple form consisting of the module of rationals.

Parameters:
name - the name of the new form

makeCModuleForm

public static SimpleForm makeCModuleForm(java.lang.String name)
Builds a simple form consisting of the module of complex numbers.

Parameters:
name - the name of the new form

makeZStringModuleForm

public static SimpleForm makeZStringModuleForm(java.lang.String name)
Builds a simple form consisting of the module of strings with integer factors.

Parameters:
name - the name of the new form

makeModuleForm

public static SimpleForm makeModuleForm(java.lang.String name,
                                        Module module)
Builds a simple form consisting of the indicated module.

Parameters:
name - the name of the new form
module - the module that is the base for the new form

makeLimitForm

public static LimitForm makeLimitForm(java.lang.String name,
                                      java.util.List<Form> forms)
Builds limit form with coordinate forms given as a list.

Parameters:
name - the name of the new form
forms - the coordinate list of forms

makeLimitForm

public static LimitForm makeLimitForm(java.lang.String name,
                                      Form... forms)
Builds a limit form with several coordinate forms.

Parameters:
name - the name of the new form
forms - an array of coordinate forms

makeColimitForm

public static ColimitForm makeColimitForm(java.lang.String name,
                                          java.util.List<Form> forms)
Builds a colimit form with coordinate forms given as a list.

Parameters:
name - the name of the new form
forms - the coordinate list of forms

makeColimitForm

public static ColimitForm makeColimitForm(java.lang.String name,
                                          Form... forms)
Builds a colimit form with several coordinate forms.

Parameters:
name - the name of the new form
forms - an array of coordinate forms

makePowerForm

public static PowerForm makePowerForm(java.lang.String name,
                                      Form form)
Builds a power form with a given coordinate form.

Parameters:
name - the name of the new form
form - the single coordinate form

makeListForm

public static ListForm makeListForm(java.lang.String name,
                                    Form form)
Builds a list form with a given coordinate form.

Parameters:
name - the name of the new form
form - the single coordinate form