next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MinimalPrimes :: Hybrid

Hybrid -- the class of lists encapsulating hybrid strategies

Description

This class is used to encapsulate hybrid strategies for certain method functions.

This example demonstrates an example of what is meant by a hybrid strategy.

i1 : debug MinimalPrimes
i2 : R = ZZ/101[w..z];
i3 : I = ideal(w*x^2-42*y*z, x^6+12*w*y+x^3*z, w^2-47*x^4*z-47*x*z^2);

o3 : Ideal of R
i4 : elapsedTime minimalPrimes(ideal I_*, Strategy => Hybrid{Linear,Birational,Factorization,DecomposeMonomials}, Verbosity => 2);
  Strategy: Linear            (time .00102169)  #primes = 0 #prunedViaCodim = 0
  Strategy: Birational        (time .0111003)  #primes = 0 #prunedViaCodim = 0
  Strategy: Factorization     (time .000533459)  #primes = 0 #prunedViaCodim = 0
  Strategy: DecomposeMonomials -- Converting annotated ideals to ideals and selecting minimal primes...
 --  Time taken : .000658328
 -- 0.0233874 seconds elapsed
(time .000017136)  #primes = 1 #prunedViaCodim = 0

See also

For the programmer

The object Hybrid is a self initializing type, with ancestor classes List < VisibleList < BasicList < Thing.