source: git/libfac/charset/reorder.h @ 341696

spielwiese
Last change on this file since 341696 was 341696, checked in by Hans Schönemann <hannes@…>, 14 years ago
Adding Id property to all files git-svn-id: file:///usr/local/Singular/svn/trunk@12231 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.9 KB
Line 
1////////////////////////////////////////////////////////////
2// emacs edit mode for this file is -*- C++ -*-
3// $Id$
4////////////////////////////////////////////////////////////
5#ifndef INCL_REORDER_H
6#define INCL_REORDER_H
7
8#include <factory.h>
9#include <tmpl_inst.h>  // for typedef's
10
11/*BEGINPUBLIC*/
12// the next three give you a heuristically optimal reorderd list of the
13// variables. For internal and external (e.g. Singular/Macaulay2) library use.
14// This is really experimental!
15// See the comments in reorder.cc.
16//
17// this gives you a heuristically optimal ordering for the ring variables
18// if you use the irreducible characteristic series.
19Varlist  neworder( const CFList & PolyList );
20// the same as neworder(...) only returning a list of CanonicalForm 's
21// (i.e. the variables as CanonicalForms)
22CFList   newordercf(const CFList & PolyList );
23// the same as neworder(...) only returning a list of int 's (i.e. the levels)
24IntList  neworderint(const CFList & PolyList );
25
26// for library internal use only:
27// next function reorders the variables in PS:
28// a code segment to use:
29// ...
30// #include <tmpl_inst.h> // for typedef's
31// CFList PS= <setup-your-list-of-CanonicalForms>;
32// Varlist betterorder= neworder(PS);
33// PS= reorder(betterorder,PS); // reorder variables in PS from oldorder
34//                                 to betterorder
35// ListCFList Q= IrrCharSeries( PS );
36// Q= reorder(betterorder,Q);   // revert ordering to oldorder
37//
38CFList reorder( const Varlist & betterorder, const CFList & PS);
39CFFList reorder( const Varlist & betterorder, const CFFList & PS);
40ListCFList reorder(const Varlist & betterorder, const ListCFList & Q);
41/*ENDPUBLIC*/
42
43#endif /* INCL_REORDER_H */
44
45////////////////////////////////////////////////////////////
46/*
47$Log: not supported by cvs2svn $
48Revision 1.3  1997/09/12 07:19:45  Singular
49* hannes/michael: libfac-0.3.0
50
51Revision 1.1  1997/04/25 22:50:41  michael
52Initial revision
53
54*/
Note: See TracBrowser for help on using the repository browser.