首页 > 最新文献

2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing最新文献

英文 中文
On Ladder Operators for Little q-Jacobi Polynomials and Their Generalizations 小q-Jacobi多项式的阶梯算子及其推广
G. Filipuk, Maciej Haneczok
In this paper we study the ladder operators for little q-Jacobi polynomials and for polynomials orthogonal with respect to a generalized q-Jacobi weight. We also briefly discuss the computational aspects in the computer algebra system Mathematica (www.wolfram.com).
本文研究了小q-Jacobi多项式和关于广义q-Jacobi权的正交多项式的阶梯算子。我们还简要讨论了计算机代数系统Mathematica (www.wolfram.com)中的计算方面。
{"title":"On Ladder Operators for Little q-Jacobi Polynomials and Their Generalizations","authors":"G. Filipuk, Maciej Haneczok","doi":"10.1109/SYNASC.2013.20","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.20","url":null,"abstract":"In this paper we study the ladder operators for little q-Jacobi polynomials and for polynomials orthogonal with respect to a generalized q-Jacobi weight. We also briefly discuss the computational aspects in the computer algebra system Mathematica (www.wolfram.com).","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"43 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125164837","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Algebraic Properties of Generalized Multisets 广义多集的代数性质
A. Alexandru, Gabriel Ciobanu
We present generalized multisets in the Zermelo-Fraenkel framework, in Reverse Mathematics, and in the Fraenkel-Mostowski framework. In the Zermelo-Fraenkel framework, we prove that the set of all generalized multisets over a certain finite set is a finitely-generated, lattice-ordered, free abelian group. Similar properties are then discussed in Reverse Mathematics. Finally, we study the generalized multisets in the Fraenkel-Mostowski framework, and present their nominal properties. Several Zermelo-Fraenkel algebraic properties of generalized multisets are translated into the Fraenkel-Mostowski framework by using the finite support axiom of the Fraenkel-Mostowski set theory.
我们在Zermelo-Fraenkel框架、逆向数学和Fraenkel-Mostowski框架中提出了广义多集。在Zermelo-Fraenkel框架下,证明了某有限集合上所有广义多集的集合是一个有限生成的格序自由阿贝尔群。然后在逆向数学中讨论类似的性质。最后,我们研究了Fraenkel-Mostowski框架下的广义多集,并给出了它们的名义性质。利用Fraenkel-Mostowski集合论的有限支持公理,将广义多集的几个Zermelo-Fraenkel代数性质转化为Fraenkel-Mostowski框架。
{"title":"Algebraic Properties of Generalized Multisets","authors":"A. Alexandru, Gabriel Ciobanu","doi":"10.1109/SYNASC.2013.55","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.55","url":null,"abstract":"We present generalized multisets in the Zermelo-Fraenkel framework, in Reverse Mathematics, and in the Fraenkel-Mostowski framework. In the Zermelo-Fraenkel framework, we prove that the set of all generalized multisets over a certain finite set is a finitely-generated, lattice-ordered, free abelian group. Similar properties are then discussed in Reverse Mathematics. Finally, we study the generalized multisets in the Fraenkel-Mostowski framework, and present their nominal properties. Several Zermelo-Fraenkel algebraic properties of generalized multisets are translated into the Fraenkel-Mostowski framework by using the finite support axiom of the Fraenkel-Mostowski set theory.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123591915","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
Evaluating Moldability of LHCb Jobs for Multicore Job Submission 多核作业提交LHCb作业的可塑性评价
N. Rauschmayr, A. Streit
The LHCb experiment at CERN processes its datasets over hundred different grid sites within the Worldwide LHC Computing Grid (WLCG). All those grid sites consist of multicore CPUs nowadays. However, the number of cores per worker node will increase in the near future. Using such worker nodes more efficiently requires parallelization of software as well as modifications at the level of scheduling. This paper will evaluate a moldable job model for LHCb grid jobs where the main challenge is the definition of the best degree of parallelism. Choosing an appropriate degree of parallelism depends on the parameters, on which optimization shall be applied. Commonly used features are for example scalability, workload and turnaround time. Prediction of run time is another major problem and it will be discussed how it can be handled using historical information. Furthermore, the advantages and disadvantages of a moldable job model will be discussed as well on how it must be extended to meet the requirements of LHCb jobs.
欧洲核子研究中心的大型强子对撞机实验在全球大型强子对撞机计算网格(WLCG)中处理超过100个不同网格站点的数据集。如今,所有这些网格站点都由多核cpu组成。然而,在不久的将来,每个工作节点的内核数量将会增加。更有效地使用这些工作节点需要软件并行化以及在调度级别上进行修改。本文将评估LHCb网格作业的可塑作业模型,其中主要挑战是最佳并行度的定义。选择适当的并行度取决于参数,优化应应用于参数。常用的特性包括可伸缩性、工作负载和周转时间。运行时预测是另一个主要问题,我们将讨论如何使用历史信息来处理这个问题。此外,将讨论可塑作业模型的优点和缺点,以及如何扩展它以满足LHCb作业的要求。
{"title":"Evaluating Moldability of LHCb Jobs for Multicore Job Submission","authors":"N. Rauschmayr, A. Streit","doi":"10.1109/SYNASC.2013.74","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.74","url":null,"abstract":"The LHCb experiment at CERN processes its datasets over hundred different grid sites within the Worldwide LHC Computing Grid (WLCG). All those grid sites consist of multicore CPUs nowadays. However, the number of cores per worker node will increase in the near future. Using such worker nodes more efficiently requires parallelization of software as well as modifications at the level of scheduling. This paper will evaluate a moldable job model for LHCb grid jobs where the main challenge is the definition of the best degree of parallelism. Choosing an appropriate degree of parallelism depends on the parameters, on which optimization shall be applied. Commonly used features are for example scalability, workload and turnaround time. Prediction of run time is another major problem and it will be discussed how it can be handled using historical information. Furthermore, the advantages and disadvantages of a moldable job model will be discussed as well on how it must be extended to meet the requirements of LHCb jobs.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"54 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129568063","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Specifying Languages and Verifying Programs with K 使用K指定语言和验证程序
Grigore Roşu
K is a rewrite-based executable semantic framework for defining languages. The K framework is designed to allow implementing a variety of generic tools that can be used with any language defined in K, such as parsers, interpreters, symbolic execution engines, semantic debuggers, test-case generators, state-space explorers, model checkers, and even deductive program verifiers. The latter are based on matching logic for expressing static properties, and on reachability logic for expressing dynamic properties. Several large languages have been already defined or are being defined in K, including C, Java, Python, Javascript, and LLVM.
K是用于定义语言的基于重写的可执行语义框架。K框架旨在允许实现各种通用工具,这些工具可以与K中定义的任何语言一起使用,例如解析器、解释器、符号执行引擎、语义调试器、测试用例生成器、状态空间探索者、模型检查器,甚至是演绎程序验证器。后者基于表示静态属性的匹配逻辑,以及表示动态属性的可达性逻辑。K中已经定义或正在定义几种大型语言,包括C、Java、Python、Javascript和LLVM。
{"title":"Specifying Languages and Verifying Programs with K","authors":"Grigore Roşu","doi":"10.1109/SYNASC.2013.81","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.81","url":null,"abstract":"K is a rewrite-based executable semantic framework for defining languages. The K framework is designed to allow implementing a variety of generic tools that can be used with any language defined in K, such as parsers, interpreters, symbolic execution engines, semantic debuggers, test-case generators, state-space explorers, model checkers, and even deductive program verifiers. The latter are based on matching logic for expressing static properties, and on reachability logic for expressing dynamic properties. Several large languages have been already defined or are being defined in K, including C, Java, Python, Javascript, and LLVM.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"44 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128989342","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Computing Origami Universal Molecules with Cyclic Tournament Forests 用循环锦标赛森林计算折纸通用分子
J. Bowers, I. Streinu
Lang's "universal molecule" algorithm solves a variant of the origami design problem. It takes as input a metric tree and a convex polygonal region (the "paper") having a certain metric relationship with the tree. It computes a crease- pattern which allows for the paper to "fold" to a uniaxial base, which is a 3-dimensional shape projecting onto the given tree. Lang's universal molecule algorithm runs in cubic time and quadratic space. We investigate two implementations which improve the running time to sub-cubic time. The first uses a cyclic tournament forest, a new data structure which extends kinetic tournament trees to allow for cycle splitting operations, and the second uses a priority queue to store events.
朗的 "通用分子 "算法解决了折纸设计问题的一个变种。它的输入是一棵度量树和一个与树有一定度量关系的凸多边形区域("纸")。它计算出一种折痕模式,使纸张 "折叠 "成单轴基,即投影到给定树上的三维形状。兰的通用分子算法以三次方时间和二次方空间运行。我们研究了两种实现方法,它们将运行时间提高到了亚立方时间。第一种使用循环锦标赛森林,这是一种新的数据结构,它扩展了动力学锦标赛树,允许进行循环拆分操作;第二种使用优先队列来存储事件。
{"title":"Computing Origami Universal Molecules with Cyclic Tournament Forests","authors":"J. Bowers, I. Streinu","doi":"10.1109/SYNASC.2013.13","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.13","url":null,"abstract":"Lang's \"universal molecule\" algorithm solves a variant of the origami design problem. It takes as input a metric tree and a convex polygonal region (the \"paper\") having a certain metric relationship with the tree. It computes a crease- pattern which allows for the paper to \"fold\" to a uniaxial base, which is a 3-dimensional shape projecting onto the given tree. Lang's universal molecule algorithm runs in cubic time and quadratic space. We investigate two implementations which improve the running time to sub-cubic time. The first uses a cyclic tournament forest, a new data structure which extends kinetic tournament trees to allow for cycle splitting operations, and the second uses a priority queue to store events.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129929479","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Algorithmic Experiences in Coxeter Spectral Study of P-critical Edge-Bipartite Graphs and Posets p临界边二部图和偶集Coxeter谱研究的算法经验
A. Polak, D. Simson
We study P-critical edge-bipartite graphs (bigraphs for short) Δ with n ≥ 2 vertices, by means of the nonsymmetric Gram matrix ǦΔ ∈ Mn(Z), the Coxeter matrix CoxΔ := -ǦΔ · ǦΔ-tr ∈ Mn(Z), its Coxeter polynomial coxΔ(t) = det(t · E + ǦΔ · ǦΔ-tr), and its Coxeter spectrum sρeccΔ. We recall that Δ is positive if the symmetric matrix ǦΔ := ǦΔ + ǦΔtr is positive definite; and Δ is P-critical if it is not positive and each of its proper full subbigraphs is positive. It is easy to see that if two bigraphs Δ, Δ' are Z-bilinear equivalent Δ ≈Z Δ' (i.e., there exists a matrix B ∈ Gl(n, Z) such that ǦΔ = Btr · ǦΔ' · B) then their Coxeter spectra speccΔ and speccΔ' coincide; but the converse implication does not hold in general. One of the main questions of the Coxeter spectral analysis of connected P-critical bigraphs Δ, Δ' is whether the congruence Δ ≈Z Δ' holds if and only if speccΔ = speccΔ'. In this note we discuss the problem in case when n ≤ 10 and Δ and Δ' are P-critical looρ-free bigraphs such that their Euclidean types DΔ, DΔ' ∈ {An, n > 1, D̃m, m ≥ 4, Ẽ6,Ẽ7, Ẽ8} coincide. In particular, we get an affirmative answer to the stated question, for a large class of P-critical bigraphs and Tits P-critical finite posets. By applying symbolic and numerical algorithms in Maple and C# we compute the set of Coxeter polynomials coxΔ(t) for P-critical loop-free bigraphs Δ, with at most 10 vertices.
我们研究P-critical edge-bipartite图(简称bigraphs)Δn≥2顶点,通过非对称格拉姆矩阵ǦΔ∈Mn (Z),考克斯Coxeter矩阵Δ:= -ǦΔ·ǦΔtr∈Mn (Z),其Coxeter多项式考克斯Δ(t) =检波器(t·E +ǦΔ·ǦΔtr),及其Coxeter频谱sρeccΔ。我们记得,如果对称矩阵ǦΔ:= ǦΔ + ǦΔtr是正定的,Δ是正的;而Δ是p临界的,如果它不是正的,并且它的每一个适当的满子图都是正的。很容易看出,如果两个图Δ, Δ'是Z-双线性等价的Δ≈Z Δ'(即存在一个矩阵B∈Gl(n, Z)使得ǦΔ = Btr·ǦΔ'·B),则它们的Coxeter谱speccΔ和speccΔ'重合;但相反的含义并不普遍成立。连通p临界图Δ, Δ'的Coxeter谱分析的一个主要问题是当且仅当speccΔ = speccΔ'时,同余Δ≈Z Δ'是否成立。在本文中,我们讨论了当n≤10且Δ和Δ'是p临界无循环图且它们的欧几里得类型DΔ, DΔ'∈{An, n > 1, D / m, m≥4,Ẽ6,Ẽ7, Ẽ8}重合时的问题。特别地,对于一大类p临界图和Tits p临界有限偏集,我们得到了上述问题的肯定答案。通过在Maple和c#中应用符号和数值算法,我们计算了p临界无循环图形Δ的Coxeter多项式集coxΔ(t),最多有10个顶点。
{"title":"Algorithmic Experiences in Coxeter Spectral Study of P-critical Edge-Bipartite Graphs and Posets","authors":"A. Polak, D. Simson","doi":"10.1109/SYNASC.2013.56","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.56","url":null,"abstract":"We study P-critical edge-bipartite graphs (bigraphs for short) Δ with n ≥ 2 vertices, by means of the nonsymmetric Gram matrix Ǧ<sub>Δ</sub> ∈ M<sub>n</sub>(Z), the Coxeter matrix Cox<sub>Δ</sub> := -Ǧ<sub>Δ</sub> · Ǧ<sub>Δ</sub><sup>-tr</sup> ∈ M<sub>n</sub>(Z), its Coxeter polynomial cox<sub>Δ</sub>(t) = det(t · E + Ǧ<sub>Δ</sub> · Ǧ<sub>Δ</sub><sup>-tr</sup>), and its Coxeter spectrum sρecc<sub>Δ</sub>. We recall that Δ is positive if the symmetric matrix Ǧ<sub>Δ</sub> := Ǧ<sub>Δ</sub> + Ǧ<sub>Δ</sub><sup>tr</sup> is positive definite; and Δ is P-critical if it is not positive and each of its proper full subbigraphs is positive. It is easy to see that if two bigraphs Δ, Δ' are Z-bilinear equivalent Δ ≈<sub>Z</sub> Δ' (i.e., there exists a matrix B ∈ Gl(n, Z) such that Ǧ<sub>Δ</sub> = B<sup>tr</sup> · Ǧ<sub>Δ'</sub> · B) then their Coxeter spectra specc<sub>Δ</sub> and specc<sub>Δ'</sub> coincide; but the converse implication does not hold in general. One of the main questions of the Coxeter spectral analysis of connected P-critical bigraphs Δ, Δ' is whether the congruence Δ ≈<sub>Z</sub> Δ' holds if and only if specc<sub>Δ</sub> = specc<sub>Δ'</sub>. In this note we discuss the problem in case when n ≤ 10 and Δ and Δ' are P-critical looρ-free bigraphs such that their Euclidean types DΔ, DΔ' ∈ {A<sub>n</sub>, n > 1, D̃<sub>m</sub>, m ≥ 4, Ẽ<sub>6</sub>,Ẽ<sub>7</sub>, Ẽ<sub>8</sub>} coincide. In particular, we get an affirmative answer to the stated question, for a large class of P-critical bigraphs and Tits P-critical finite posets. By applying symbolic and numerical algorithms in Maple and C# we compute the set of Coxeter polynomials cox<sub>Δ</sub>(t) for P-critical loop-free bigraphs Δ, with at most 10 vertices.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"106 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128079569","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Optimization and Parallelization of Emedge3D on Shared Memory Architecture Emedge3D在共享内存架构上的优化与并行化
M. Kuhn, G. Latu, S. Genaud, N. Crouseilles
This paper presents a study of techniques used to speedup a scientific simulation code. The techniques include sequential optimizations as well as the parallelization with OpenMP. This work is carried out on two different multicore shared memory architectures, namely a cutting edge 8×8 core CPU and a more common 2×6 core board. Our target application is representative of many memory bound codes, and the techniques we present show how to overcome the burden of the memory bandwidth limit, which is quickly reached on multi-core or many-core with shared memory architectures. To achieve efficient speedups, strategies are applied to lower the computation costs, and to maximize the use of processors caches. Optimizations are: minimizing memory accesses, simplifying and reordering computations, and tiling loops. On 12 cores processor Intel X5675, aggregation of these optimizations results in an execution time 21.6 faster, compared to the original version on one core.
本文研究了一种加速科学仿真代码的技术。这些技术包括顺序优化以及OpenMP的并行化。这项工作是在两种不同的多核共享内存架构上进行的,即尖端的8×8核心CPU和更常见的2×6核心板。我们的目标应用程序是许多内存绑定代码的代表,我们介绍的技术展示了如何克服内存带宽限制的负担,这在多核或多核共享内存架构上很快就会达到。为了实现高效的加速,应用了一些策略来降低计算成本,并最大限度地利用处理器缓存。优化是:最小化内存访问,简化和重新排序计算,平铺循环。在12核处理器Intel X5675上,与单核的原始版本相比,这些优化的聚合使执行时间提高了21.6。
{"title":"Optimization and Parallelization of Emedge3D on Shared Memory Architecture","authors":"M. Kuhn, G. Latu, S. Genaud, N. Crouseilles","doi":"10.1109/SYNASC.2013.72","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.72","url":null,"abstract":"This paper presents a study of techniques used to speedup a scientific simulation code. The techniques include sequential optimizations as well as the parallelization with OpenMP. This work is carried out on two different multicore shared memory architectures, namely a cutting edge 8×8 core CPU and a more common 2×6 core board. Our target application is representative of many memory bound codes, and the techniques we present show how to overcome the burden of the memory bandwidth limit, which is quickly reached on multi-core or many-core with shared memory architectures. To achieve efficient speedups, strategies are applied to lower the computation costs, and to maximize the use of processors caches. Optimizations are: minimizing memory accesses, simplifying and reordering computations, and tiling loops. On 12 cores processor Intel X5675, aggregation of these optimizations results in an execution time 21.6 faster, compared to the original version on one core.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130455281","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
An Extension of the Interpreter Pattern to Define Domain-Parametric Rewriting Systems 定义域参数重写系统的解释器模式的扩展
L. Capra, Vincenzo Stile
The Interpreter design pattern provides an elegant and natural way of implementing systems based on term-rewriting in a OO fashion. The idea is simply associating each term of a language, either terminal or non-terminal, with a corresponding class provided with a suitable simplify() method.Reducing a term to a normal form is thus performed through a series of recursive calls to such a method.The main weakness of this approach is that it does not take into account similarities existing among different domains, thus enforcing programmers to pollute generic and domain-specific rules. The resulting code if often wordy, hard to maintain, non-reusable. In this paper we adapt the Interpreter pattern so that a clean separation between generic (common to different domains) and domain-specific rules is possible. The new pattern significantly helps design even complex rewriting systems. A running example which refers to a generic Logical domain is used throughout the paper. An application to High Level Petri nets analysis is sketched. Without any loss of generality we refer to Java as representative of a large class of languages.
Interpreter设计模式提供了一种优雅而自然的方式来实现基于面向对象方式的术语重写的系统。其思想是简单地将语言的每个术语(无论是终端还是非终端)与相应的类关联起来,该类提供了合适的simplify()方法。因此,通过对这种方法的一系列递归调用来执行将项简化为标准形式的操作。这种方法的主要缺点是它没有考虑到不同领域之间存在的相似性,从而迫使程序员污染通用规则和特定于领域的规则。生成的代码通常冗长,难以维护,不可重用。在本文中,我们对解释器模式进行了调整,使得通用(不同领域共有)规则和特定于领域的规则之间的清晰分离成为可能。这种新模式对设计复杂的重写系统有很大帮助。本文使用了一个通用逻辑域的实例。简述了在高级Petri网分析中的应用。在不失一般性的前提下,我们将Java称为一大语言类别的代表。
{"title":"An Extension of the Interpreter Pattern to Define Domain-Parametric Rewriting Systems","authors":"L. Capra, Vincenzo Stile","doi":"10.1109/SYNASC.2013.32","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.32","url":null,"abstract":"The Interpreter design pattern provides an elegant and natural way of implementing systems based on term-rewriting in a OO fashion. The idea is simply associating each term of a language, either terminal or non-terminal, with a corresponding class provided with a suitable simplify() method.Reducing a term to a normal form is thus performed through a series of recursive calls to such a method.The main weakness of this approach is that it does not take into account similarities existing among different domains, thus enforcing programmers to pollute generic and domain-specific rules. The resulting code if often wordy, hard to maintain, non-reusable. In this paper we adapt the Interpreter pattern so that a clean separation between generic (common to different domains) and domain-specific rules is possible. The new pattern significantly helps design even complex rewriting systems. A running example which refers to a generic Logical domain is used throughout the paper. An application to High Level Petri nets analysis is sketched. Without any loss of generality we refer to Java as representative of a large class of languages.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"29 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133918859","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Non-interleaving Operational Semantics for Geographically Replicated Databases 地理复制数据库的非交错操作语义
Gabriel Ciobanu, Ross Horne
For scalable distributed database systems, weak consistency models are essential. Distributed databases, such as Google Spanner, scale to millions of nodes that replicate data across datacentres possibly located on different continents. At this scale, it is infeasible to maintain serialisability, which assumes that a global total order over committed transactions can be established. Instead, weaker consistency models, such as eventual consistency, causal consistency, sequential consistency and external consistency, are assumed. The problem is that operational models, such as labelled transition systems, tend to assume an interleaving semantics, which serialises transactions. To address this limitation, we provide an operational model that allows a weaker notion of consistency for a geographically distributed database inspired by Spanner. We reduce the timing guarantees provided by Spanner's TrueTime protocol to causal dependencies that are specified in a formal calculus.
对于可伸缩的分布式数据库系统,弱一致性模型是必不可少的。分布式数据库(如Google Spanner)可以扩展到数百万个节点,这些节点可以跨可能位于不同大陆的数据中心复制数据。在这种规模下,维持可序列化性是不可行的,这假定可以建立已提交事务的全局总顺序。相反,假设较弱的一致性模型,如最终一致性、因果一致性、顺序一致性和外部一致性。问题在于,操作模型(如标记的转换系统)倾向于采用交错语义,从而序列化事务。为了解决这一限制,我们提供了一个操作模型,该模型允许受Spanner启发的地理分布式数据库的一致性概念较弱。我们将Spanner的TrueTime协议提供的时间保证简化为在形式演算中指定的因果关系。
{"title":"Non-interleaving Operational Semantics for Geographically Replicated Databases","authors":"Gabriel Ciobanu, Ross Horne","doi":"10.1109/SYNASC.2013.64","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.64","url":null,"abstract":"For scalable distributed database systems, weak consistency models are essential. Distributed databases, such as Google Spanner, scale to millions of nodes that replicate data across datacentres possibly located on different continents. At this scale, it is infeasible to maintain serialisability, which assumes that a global total order over committed transactions can be established. Instead, weaker consistency models, such as eventual consistency, causal consistency, sequential consistency and external consistency, are assumed. The problem is that operational models, such as labelled transition systems, tend to assume an interleaving semantics, which serialises transactions. To address this limitation, we provide an operational model that allows a weaker notion of consistency for a geographically distributed database inspired by Spanner. We reduce the timing guarantees provided by Spanner's TrueTime protocol to causal dependencies that are specified in a formal calculus.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"104 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115676573","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
On Algebraic Preprocessing of Floating-Point DAEs for Numerical Model Simulation 用于数值模型仿真的浮点DAEs代数预处理研究
Tateaki Sasaki, Tetsu Yamaguchi
This paper investigates the cancellation errors which may occur in algebraic preprocessing with floating-point numbers, of numerical model simulation. We consider two operations, the substitution of a polynomial for terms of other polynomials and solving system of parametric linear equations. For the first operation, we clarify that the "gsystematic term-cancellation" may cause large errors and propose a simple method to avoid large errors. The idea is to introduce system parameters of value 1 to avoid mixing of terms which may cancel one another. For the second operation, we propose a combined method of numerical Gauss-Jordan elimination with pivoting and the symbolic minor expansion of the parametric determinants. There may occur the case that the pivoting is unsatisfactory or restricted severely, hence we propose two error-avoiding methods, they can be used together with pivoting. We convince ourselves of the effectiveness of proposed methods by experiments.
本文研究了数值模型仿真中浮点数代数预处理中可能出现的消去误差。我们考虑两个运算,一个多项式替换其他多项式项和求解参数线性方程组。对于第一个操作,我们明确了“系统项消去”可能会导致较大的误差,并提出了一种简单的方法来避免较大的误差。其思想是引入值为1的系统参数,以避免可能相互抵消的项的混合。对于第二种运算,我们提出了一种带有旋转和参数行列式符号小展开的数值高斯-约当消去的组合方法。因此,我们提出了两种避免误差的方法,它们可以与旋转配合使用。我们通过实验使自己确信所提出方法的有效性。
{"title":"On Algebraic Preprocessing of Floating-Point DAEs for Numerical Model Simulation","authors":"Tateaki Sasaki, Tetsu Yamaguchi","doi":"10.1109/SYNASC.2013.18","DOIUrl":"https://doi.org/10.1109/SYNASC.2013.18","url":null,"abstract":"This paper investigates the cancellation errors which may occur in algebraic preprocessing with floating-point numbers, of numerical model simulation. We consider two operations, the substitution of a polynomial for terms of other polynomials and solving system of parametric linear equations. For the first operation, we clarify that the \"gsystematic term-cancellation\" may cause large errors and propose a simple method to avoid large errors. The idea is to introduce system parameters of value 1 to avoid mixing of terms which may cancel one another. For the second operation, we propose a combined method of numerical Gauss-Jordan elimination with pivoting and the symbolic minor expansion of the parametric determinants. There may occur the case that the pivoting is unsatisfactory or restricted severely, hence we propose two error-avoiding methods, they can be used together with pivoting. We convince ourselves of the effectiveness of proposed methods by experiments.","PeriodicalId":293085,"journal":{"name":"2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing","volume":"76 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2013-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128821599","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
期刊
2013 15th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1