Fr\'echet-Like Distances between Two Rooted Trees Elena Farahbakhsh Touli Stockholm University, Department of Mathematics author text article 2021 eng The purpose of this paper is to extend the definition of Fr\'echet distance which measures the distance between two curves to a distance (Fr\'echet-Like distance) which measures the similarity between two rooted trees.In this paper, I prove that the Fr\'echet-Like distance between two trees is SNP-hard to compute. Later, I modify the definition of Fr\'echet-Like distance to measure the distance between two merge trees, and I prove the relation between the interleaving distance and the modified Fr\'echet-Like distance. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 1 12 https://jac.ut.ac.ir/article_81145_9cd801c5f8020bd4f3d182de4877a405.pdf $4$-total mean cordial labeling of special graphs R Ponraj Department of Mathematics Sri Parakalyani College Alwarkurichi -627 412, India author S SUBBULAKSHMI Sri Paramakalyani College Alwarkurichi-627412, Tamilnadu, India author S Somasundaram Department of Mathematics Manonmaniam sundarnar university, Abishekapatti, Tirunelveli-627012, Tamilnadu, India author text article 2021 eng Let $G$ be a graph. Let $f:V\left(G\right)\rightarrow \left\{0,1,2,\ldots,k-1\right\}$ be a function where $k\in \mathbb{N}$ and $k>1$. For each edge $uv$, assign the label $f\left(uv\right)=\left\lceil \frac{f\left(u\right)+f\left(v\right)}{2}\right\rceil$. $f$ is called $k$-total mean cordial labeling of $G$ if $\left|t_{mf}\left(i\right)-t_{mf}\left(j\right) \right| \leq 1$, for all $i,j\in\left\{0, 1, \ldots, k-1\right\}$, where $t_{mf}\left(x\right)$ denotes the total number of vertices and edges labelled with $x$, $x\in\left\{0,1,2,\ldots,k-1\right\}$. A graph with admit a $k$-total mean cordial labeling is called $k$-total mean cordial graph. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 13 22 https://jac.ut.ac.ir/article_81169_28389b60f46526921271f4681f287da6.pdf A New Numerical Solution for System of Linear Equations Iman Shojaei Align Technology Inc, San Jose, CA 95134, USA author Hossein Rahami School of Engineering Science, College of Engineering, University of Tehran, Tehran, Iran author text article 2021 eng In this paper we have developed a numerical method for solving system of linear equations through taking advantages of properties of repetitive tridiagonal matrices. A system of linear equations is usually obtained in the final step of many science and engineering problems such as problems involving partial differential equations. In the proposed algorithm, the problem is first solved for repetitive tridiagonal matrices (i.e., system of linear equations) and a closed-from relationship is obtained. This relationship is then used for solving a general matrix through converting the matrix into a repetitive tridiagonal matrix and a remaining matrix that is moved to the right-hand side of the equation. Therefore, the problem is converted into a repetitive tridiagonal matrix problem where we have a vector of unknowns on the right-hand side (in addition to the left-hand side) of the equation. The problem is solved iteratively by first using an initial guess to define the vector on the right-hand side of the equation and then solving the problem using the closed-from relationship for repetitive tridiagonal matrices. The new obtained solution is then substituted in the right-hand side of the equation and the tridiagonal problem is solved again. This process is carried out iteratively until convergence is achieved. Computational complexity of the method is investigated and efficiency of the method is shown through several examples. As indicated in the examples, one of the advantages of the proposed method is its high rate of convergence in problems where the given matrix includes large off-diagonal entries. In such problems, methods like Jacobi, Gauss-Seidel, and Successive Over-Relaxation will either have a low rate of convergence or be unable to converge. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 23 39 https://jac.ut.ac.ir/article_81267_23db04a9319ce7c9f6bbf2eb577623b4.pdf $\alpha$-Gap Greedy Spanner Hosein Salami Department of Computer Engineering, Ferdowsi University of Mashhad author Mostafa Nouri Baygi Department of Computer Engineering, Ferdowsi University of Mashhad, Mashhad, Iran author text article 2021 eng In this paper, we have introduced a new geometric spanner called $\alpha$-Gap greedy spanner, which is a parametric approximation of the well-known Gap-greedy spanner. We will show theoretically and experimentally that this spanner is similar to the Gap-greedy spanner in terms of qualitative features such as weight and maximum degree of vertices. %Wehave shown that this spanner can be computed in $O(n^2 \log n)$ time with$O(n)$ space, and $O(n \log n)$ expected time on the set of points placedrandomly in a unit square.Two algorithms have been proposed with running time $O(n^2 \log n)$ for constructing the $\alpha$-Gap greedy spanner. Space complexity of the first algorithm is $O(n^2)$, but it is reduced to $O(n)$ in the second one. %The proposed algorithms have a parameter, called $\alpha$, by which the similarity of the $\alpha$-Gap greedy spanner to the Gap-greedy spanner, in terms of quality features mentioned above, can be determined. Also, we have shown on the points placed randomly in a unit square, the $\alpha$-Gap greedy spanner can be constructed in the expected $O(n \log n)$ time. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 41 60 https://jac.ut.ac.ir/article_81307_669c0a0df2c0484e4332a6e5ff9041b6.pdf Signature GOA: A novel comfort zone parameter adjustment using fuzzy signature for task scheduling in cloud environment Aboozar Zandvakili Department of Computer Science, Shahid Bahonar University of Kerman, Kerman, Iran author Najme Mansouri Department of Computer science, Shahid Bahonar University of Kerman, Kerman, Iran author Mohammad Javidi Department of Computer Science, Shahid Bahonar University of Kerman, Kerman, Iran author text article 2021 eng Task scheduling in cloud computing plays an essential role for service provider to enhance its quality of service. Grasshopper Optimization Algorithm (GOA) is an evolutionary computation technique developed by emulating the swarming behavior of grasshoppers while searching for food. GOA is easy to implement but it cannot make full utilization of every iteration, and there is a risk of falling into the local optimal. This paper proposes a suitable approach for adjusting the comfort zone parameter based on the fuzzy signatures called signature GOA (SGOA) to balance exploration and exploitation. Then, we propose task scheduling based on SGOA by considering different objectives such as completion time, delay, and the load balancing on the machines. Finally, different algorithms such as Particle Swarm Optimization (PSO), Simulated Annealing (SA), Tabu Search (TS), and multi-objective genetic algorithm, are used for comparison. The results show that among all algorithms, SGOA can be successful in much less iteration. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 61 95 https://jac.ut.ac.ir/article_81539_ce78841b3d8f6d59f9c7a49f7119ff28.pdf A Numerical Method for Eigensolution of Tridiagonal Matrices Iman Shojaei Align Technology Inc, San Jose, CA 95134, USA author Hossein Rahami School of Engineering Science, College of Engineering, University of Tehran, Tehran, Iran author text article 2021 eng In this paper we have developed an iterative method to solve eigenproblem for non-repetitive tridiagonal matrices. The importance of eigensolution for tridiagonal matrices is that in many algorithms the eigneproblem for an arbitrary matrix is first converted to the eigenproblem for a tridiagonal matrix and then the problem is tackled. Our proposed method was developed through taking advantages of some unique properties of repetitive and non-repetitive tridiagonal matrices. First, we established closed-form solutions for the system of linear equations $\bf{Mx=f}$  for the condition $\mathbf{M}$ is tridiagonal. When $\mathbf{M}$ is a repetitive tridiagonal matrix, the unknown vector $\mathbf{x}$, the vector $\mathbf{f}$, and the coefficient matrix $\mathbf{M}$ are expanded using orthogonal basis of matrix $\mathbf{M}$ and closed-form relationships are obtained. For non-repetitive matrix $\mathbf{M}$, the tridiagonal matrix algorithm is used to efficiently solve the matrix equation. We then using orthogonal basis of matrix $\mathbf{M}$ and closed-form relationships are obtained. For non-repetitive matrix $\mathbf{M}$, the tridiagonal matrix algorithm is used to efficiently solve the matrix equation. We then implemented these solutions in an iterative relationship for eigenproblem where eigenpairs of non-repetitive tridiagonal matrices were obtained through successive solution of the tridiagonal matrix equation efficiently solved above. Furthermore, closed-form relationships for eigenpairs of repetitive tridiagonal matrices were implemented in the algorithm as start point for eigensolution of non-repetitive tridiagonal matrices so that the required number of iterations was significantly reduced. Computational complexity of the proposed method is $O(n^2)$ that is competitive with the best existing algorithms in literature. As indicated through several numerical examples, the advantages of the proposed algorithm include high rate of convergence, computational efficiency in each iteration, simple implementation, and availability of an objective start point for initialization.  Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 97 115 https://jac.ut.ac.ir/article_81543_f245166d44046556266d8232c4fde63b.pdf An Alternative Proof for a Theorem of R.L. Graham Concerning CHEBYSHEV Polynomials A.M.S.. Ramasamy Department of Mathematics, Pondicherry University, Pondicherry, India author R Ponraj Department of Mathematics Sri Parakalyani College Alwarkurichi -627 412, India author text article 2021 eng In this paper, an alternative proof is provided for a theorem of R.L.Graham concerning Chebyshev polynomials.  While studying the properties of a double star, R.L.Graham  proved a theorem concerning Chebyshev polynomials of the first kind ${T_n (x)}$. The purpose of this paper is to provide an alternative proof for his theorem. Our method is based on the divisibility properties of the natural numbers. One may observe that the Chebyshev polynomials evaluated at integers considered by R.L.Graham match with the solutions of the Pell's equation for a general, square-free $D \in N$. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 117 122 https://jac.ut.ac.ir/article_81593_93d781a6ea7bffe6615c83f4372cea32.pdf On the Minimum of True Matches in Exact Graph Matching with Simulated Annealing Hashem Ezzati Department of Computer Science, Amir Kabir University of Technology, Tehran, Iran author Mahmood Amintoosi Faculty of Mathematics and Computer science, Hakim Sabzevari University, Sabzevar, Iran author Hashem Tabasi Department of Computer Science, Damghan University author text article 2021 eng Graph matching is one of the most important problems in graph theory and combinatorial optimization, with many applications in various domains. Although meta-heuristic algorithms have had good performance on many NP-Hard and NP-Complete problems, but for graph matching problem, there were not reported superior solutions by these sort of algorithms. The reason of this inefficiency  has not been investigated yet. In this paper it has been shown that Simulated Annealing (SA) as an instance of a meta-heuristic method is unlikely to be even close to the optimal solution for this problem. Mathematical and experimental results showed that the chance to reach to a partial solution, is very low, even for small number of true matches. In addition to theoretical discussion, the experimental results also verified our idea; for example, in two sample graphs with $10000$ vertices, the probability of reaching to a solution with at least three correct matches is about $0.02$ with simulated annealing. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 123 134 https://jac.ut.ac.ir/article_81628_c4ff6be4c01880d61752828a09af50ca.pdf A fast algorithm for the linear programming problem constrained with the Weighted power mean -- Fuzzy Relational Equalities (WPM-FRE) Amin Ghodousian Faculty of Engineering Science, College of Engineering, University of Tehran, P.O.Box 11365-4563, Tehran, Iran. author Sara Zal University of Tehran, Department of Algorithms and Computation author text article 2021 eng In this paper, a linear programming problem is investigated in which the feasible region is formed as a special type of fuzzy relational equalities (FRE). In this type of FRE, fuzzy composition is considered as the weighted power mean operator (WPM). Some theoretical properties of the feasible region are derived and some necessary and sufficient conditions are also presented to determine the feasibility of the problem. Moreover, two procedures are proposed for simplifying the problem. Based on some structural properties of the problem, an algorithm is presented to find the optimal solutions and finally, an example is described to illustrate the algorithm.  Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 135 148 https://jac.ut.ac.ir/article_81633_88056bc54e924723d34598521ee1c6ad.pdf Pair Difference Cordiality of Some Snake and Butterfly Graphs R Ponraj Department of Mathematics Sri Parakalyani College Alwarkurichi -627 412, India author A Gayathri Research Scholor,Reg.No:20124012092023 Department of Mathematics Manonmaniam Sundaranar University, Abhishekapati,Tirunelveli&ndash;627 012, India author S Somasundaram Department of Mathematics Manonmaniam sundarnar university, Abishekapatti, Tirunelveli-627012, Tamilnadu, India author text article 2021 eng \noindent Let $G = (V, E)$ be a $(p,q)$ graph.\\Define \begin{equation*}\rho =\begin{cases}\frac{p}{2} ,& \text{if $p$ is even}\\\frac{p-1}{2} ,& \text{if $p$ is odd}\\\end{cases}\end{equation*}\\ and $L = \{\pm1 ,\pm2, \pm3 , \cdots ,\pm\rho\}$ called the set of labels.\\\noindent Consider a mapping $f : V \longrightarrow L$ by assigning different labels in L to the different elements of V when p is even and different labels in L to p-1 elements of V and repeating a label for the remaining one vertex when $p$ is odd.The labeling as defined above is said to be a pair difference cordial labeling if for each edge $uv$ of $G$ there exists a labeling $\left|f(u) - f(v)\right|$ such that $\left|\Delta_{f_1} - \Delta_{f_1^c}\right| \leq 1$, where $\Delta_{f_1}$ and $\Delta_{f_1^c}$ respectively denote the number of edges labeled with $1$ and number of edges not labeled with $1$. A graph $G$ for which there exists a pair difference cordial labeling is called a pair difference cordial graph. In this paper we investigate the pair difference cordial labeling behavior of some snake and butterfly graphs. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 149 163 https://jac.ut.ac.ir/article_81649_9670058e7708586f959c57de1e3434f5.pdf Use of Digital Image Watermarking to Enhance the Security of Graphical Password Authentication Saeid Sadeghi Department of computer engineering, Islamic azad unievrsity (central branch), Tehran, Iran author Kooroush Manochehri Department of computer engineering, Amirkabir university of Technology, Tehran, Iran author mohsen jahanshahi Department of Computer Engineering.Software, Islamic Azad University, Central Tehran Branch, Tehran,Iran author text article 2021 eng There are several techniques for implement an authentication system for computers that most commonly use the clear text password. One of the security problems is the use of a text password, the lack of choosing a complicated password by users due to forgetting, and being guessable and retrieved by attackers. One of the methods for passing text passwords is the use of graphical password authentication systems that increase the amount of forgetting passwords by using images instead of text characters. In this paper, the security challenges of using a graphical password are discussed. Then, explain a method for using the watermarking digital image for the authentication process and providing an algorithm suitable for watermarking and enhance the security of graphical password authentication system, and its quantitative and qualitative security parameters will be examined. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 165 180 https://jac.ut.ac.ir/article_81653_959c8a5c4847c14b289e7956c5168e4c.pdf A Survey on Tenacity Parameter\\Part I Asieh Khoshnood University of Tehran Department of Algorihthms and Computation, Tehran, Iran author Dara Moazzami University of Tehran, College of Engineering, Department of Engineering Science author text article 2021 eng If we think of the graph as modeling a network, the vulnerability measurethe resistance of the network to disruption of operation after the failure of certainstations or communication links. In assessing the "vulnerability"of a graph one determines the extent to which the graph retains certainproperties after the removal of vertices and / or edges. Many graph theoretical parameters have been used to describe the vulnerability of communication networks, including connectivity, integrity, toughness, binding number, tenacity and... . In this paper we survey and discuss tenacity and its properties in vulnerability calculation and we will comparedifferent measures of vulnerability with tenacity for several classes ofgraphs. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 181 196 https://jac.ut.ac.ir/article_81721_76913d1142ab4fde5d94bd79b545853f.pdf BloomEclat: Efficient Eclat Algorithm based on Bloom filter sina abbasi Department of Algorithms and Computation, School of Engineering Science, College of Engineering, University of Tehran, Iran author Ali Moieni Department of Algorithms and Computation, School of Engineering Science, College of Engineering, University of Tehran, Iran. author text article 2021 eng Eclat is an algorithm that finds frequent itemsets. It uses a vertical database and calculates item's support by intersecting transactions. However, Eclat suffers from the exponential time complexity of calculating the intersection of transactions. In this paper, a randomized algorithm called BloomEclat based on Bloom filter is presented to improve the Eclat algorithm complexity in finding frequent itemsets. Through Bloom Filter, an element’s membership to a set, can be checked and set operations such as intersection and union of two sets can be executed in a time efficient manner. By using these capabilities, Eclat algorithm’s intersecting problem can significantly improve. In BloomEclat algorithm with slight false positive error, the speed of the intersecting transactions is increased, and consequently the execution time is reduced. Journal of Algorithms and Computation University of Tehran 2476-2776 53 v. 1 no. 2021 197 208 https://jac.ut.ac.ir/article_81890_5bda386b4320351819ad7b35d79c0bd8.pdf