Loading [MathJax]/jax/output/CommonHTML/jax.js
Skip main navigation

Cookies Notification

We use cookies on this site to enhance your user experience. By continuing to browse the site, you consent to the use of our cookies. Learn More
×

System Upgrade on Tue, May 28th, 2024 at 2am (EDT)

Existing users will be able to log into the site and access content. However, E-commerce and registration of new users may not be available for up to 12 hours.
For online purchase, please visit us again. Contact us at customercare@wspc.com for any enquiries.

SEARCH GUIDE  Download Search Tip PDF File

  • articleFree Access

    The lattice of clones of self-dual operations collapsed

    We prove that there are continuum many clones on a three-element set even if they are considered up to homomorphic equivalence. The clones we use to prove this fact are clones consisting of self-dual operations, i.e. operations that preserve the relation {(0,1),(1,2),(2,0)}. However, there are only countably many such clones when considered up to equivalence with respect to minor-preserving maps instead of clone homomorphisms. We give a full description of the set of clones of self-dual operations, ordered by the existence of minor-preserving maps. Our result can also be phrased as a statement about structures on a three-element set: we give a full description of the structures containing the relation {(0,1),(1,2),(2,0)}, ordered by primitive positive constructability, because there is a minor-preserving map from the polymorphism clone of a finite structure 𝔄 to the polymorphism clone of a finite structure 𝔅 if and only if there is a primitive positive construction of 𝔅 in 𝔄.

  • articleNo Access

    A Machine Learning Based Approach for Evaluating Clone Detection Tools for a Generalized and Accurate Precision

    An important measure of clone detection performance is precision. However, there has been a marked lack of research into methods for efficiently and accurately measuring the precision of a clone detection tool. Instead, tool authors simply validate a small random sample of the clones their tools detected in a subject software system. Since there could be many thousands of clones reported by the tool, such a small random sample cannot guarantee an accurate and generalized measure of the tool’s precision for all the varieties of clones that can occur in any arbitrary software system. In this paper, we propose a machine-learning-based approach that can cluster similar clones together, and which can be used to maximize the variety of clones examined when measuring precision, while significantly reducing the biases a specific subject system has on the generality of the precision measured. Our technique reduces the efforts in measuring precision, while doubling the variety of clones validated and reducing biases that harm the generality of the measure by up to an order of magnitude. Our case study with the NiCad clone detector and the Java class library shows that our approach is effective in efficiently measuring an accurate and generalized precision of a subject clone detection tool.

  • articleNo Access

    POWER CLONES AND NON-DETERMINISTIC HYPERSUBSTITUTIONS

    Hypersubstitutions map operation symbols to terms of the corresponding arity. Any hypersubstitution can be extended to a mapping defined on the set Wτ(X) of all terms of type τ. If σ : {fi | i ∈ I} → Wτ(X) is a hypersubstitution and formula its canonical extension, then the set

    formula
    is a tree transformation where the original language and the image language are of the same type. Tree transformations of the type Tσ can be produced by tree transducers. Here Tσ is the graph of the function formula. Since the set of all hypersubstitutions of type r forms a semigroup with respect to the multiplication formula, semigroup properties influence the properties of tree transformations of the form Tσ. For instance, if σ is idempotent, the relation Tσ is transitive (see [1]). Non-deterministic tree transducers produce tree transformations which are not graphs of some functions. If such tree transformations have the form Tσ, then σ is no longer a function. Therefore, there is some interest to study non-deterministic hypersubstitutions. That means, there are operation symbols which have not only one term of the corresponding arity as image, but a set of such terms. To define the extensions of non-deterministic hypersubstitutions, we have to extent the superposition operations for terms to a superposition defined on sets of terms. Let formula be the power set of the set of all n-ary terms of type τ. Then we define a superposition operation
    formula
    and get a heterogeneous algebra
    formula
    (ℕ+ is the set of all positive natural numbers), which is called the power clone of type τ. We prove that the algebra formula satisfies the well-known clone axioms (C1), (C2), (C3), where (C1) is the superassociative law (see e.g. [5], [4]). It turns out that the extensions of non-deterministic hypersubstitutions are precisely those endomorphisms of the heterogeneous algebra formula which preserve unions of families of sets. As a consequence, to study tree transformations of the form Tσ, where σ is a non-deterministic hypersubstitution, one can use the structural properties of non-deterministic hypersubstitutions. Sets of terms of type τ are tree languages in the sense of [3] and the operations formula are operations on tree languages. In [3] also another kind of superposition of tree languages is introduced which generalizes the usual complex product of subsets of the universe of a semigroup. We show that the extensions of non-deterministic hypersubstitutions are not endomorphisms with respect to this kind of superposition.

  • articleNo Access

    Partial clones

    A set C of operations defined on a nonempty set A is said to be a clone if C is closed under composition of operations and contains all projection mappings. The concept of a clone belongs to the algebraic main concepts and has important applications in Computer Science. A clone can also be regarded as a many-sorted algebra where the sorts are the n-ary operations defined on set A for all natural numbers n1 and the operations are the so-called superposition operations Snm for natural numbers m,n1 and the projection operations as nullary operations. Clones generalize monoids of transformations defined on set A and satisfy three clone axioms. The most important axiom is the superassociative law, a generalization of the associative law. If the superposition operations are partial, i.e. not everywhere defined, instead of the many-sorted clone algebra, one obtains partial many-sorted algebras, the partial clones. Linear terms, linear tree languages or linear formulas form partial clones. In this paper, we give a survey on partial clones and their properties.

  • articleNo Access

    Baker–Pixley theorem for algebras in relatively congruence distributive quasivarieties

    A classical theorem of Baker and Pixley states that if A is a finite algebra with a majority term and f is an n-ary operation on A which preserves every subuniverse of A×A, then f is representable by a term in A. We give a generalizacion of this theorem for the case in which A is a finite algebra belonging to some relatively congruence distributive quasivariety.