46ec148ca9ae7ecc668c2c0bb9547140d05d68e2
Files Diff
- Added: 13
- Removed: 6
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getAccessMode() : int renamed to public accessMode() : int in class org.apache.ignite.ml.math.impls.storage.matrix.SparseLocalOnHeapMatrixStorage | From | To | |
Change Return Type | 3 | ||
Change Return Type IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to IgniteCache<RowColMatrixKey,Map<Integer,Double>> in method public cache() : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Return Type IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to IgniteCache<RowColMatrixKey,Map<Integer,Double>> in method private newCache() : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Return Type Collection<BlockMatrixKey> to Set<BlockMatrixKey> in method public getAllKeys() : Set<BlockMatrixKey> in class org.apache.ignite.ml.math.impls.storage.matrix.BlockMatrixStorage | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.ml.math.impls.storage.matrix.BaseBlockMatrixKey moved and renamed to org.apache.ignite.ml.math.distributed.keys.MatrixCacheKey | From | To | |
Move Class | 5 | ||
Move Class org.apache.ignite.ml.math.ValueMapper moved to org.apache.ignite.ml.math.distributed.ValueMapper | From | To | |
Move Class org.apache.ignite.ml.math.impls.CacheUtils moved to org.apache.ignite.ml.math.distributed.CacheUtils | From | To | |
Move Class org.apache.ignite.ml.math.VectorKeyMapper moved to org.apache.ignite.ml.math.distributed.VectorKeyMapper | From | To | |
Move Class org.apache.ignite.ml.math.impls.storage.matrix.BlockMatrixKey moved to org.apache.ignite.ml.math.distributed.keys.impl.BlockMatrixKey | From | To | |
Move Class org.apache.ignite.ml.math.MatrixKeyMapper moved to org.apache.ignite.ml.math.distributed.MatrixKeyMapper | From | To | |
Rename Attribute | 2 | ||
Rename Attribute ML_BLOCK_CACHE_NAME : String to CACHE_NAME : String in class org.apache.ignite.ml.math.impls.storage.matrix.BlockMatrixStorage | From | To | |
Rename Attribute ML_CACHE_NAME : String to CACHE_NAME : String in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type | 6 | ||
Change Variable Type keys : Collection<BlockMatrixKey> to keys : Set<BlockMatrixKey> in method public getAllKeys() : Set<BlockMatrixKey> in class org.apache.ignite.ml.math.impls.storage.matrix.BlockMatrixStorage | From | To | |
Change Variable Type cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to cache : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in method private matrixGet(a int, b int) : double in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to cache : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in method public testCacheBehaviour() : void in class org.apache.ignite.ml.math.impls.matrix.SparseDistributedMatrixTest | From | To | |
Change Variable Type cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to cache : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in method private matrixSet(a int, b int, v double) : void in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type keyset : Set<IgniteBiTuple<Integer,IgniteUuid>> to keyset : Set<RowColMatrixKey> in method public destroy() : void in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type cfg : CacheConfiguration<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to cfg : CacheConfiguration<RowColMatrixKey,Map<Integer,Double>> in method private newCache() : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Extract Method | 4 | ||
Extract Method private sparseKeyFilter(matrixUuid IgniteUuid) : IgnitePredicate<K> extracted from public sparseMin(matrixUuid IgniteUuid, cacheName String) : double in class org.apache.ignite.ml.math.distributed.CacheUtils | From | To | |
Extract Method private sparseKeyFilter(matrixUuid IgniteUuid) : IgnitePredicate<K> extracted from public sparseSum(matrixUuid IgniteUuid, cacheName String) : double in class org.apache.ignite.ml.math.distributed.CacheUtils | From | To | |
Extract Method private sparseKeyFilter(matrixUuid IgniteUuid) : IgnitePredicate<K> extracted from public sparseMax(matrixUuid IgniteUuid, cacheName String) : double in class org.apache.ignite.ml.math.distributed.CacheUtils | From | To | |
Extract Method private sparseKeyFilter(matrixUuid IgniteUuid) : IgnitePredicate<K> extracted from public sparseMap(matrixUuid IgniteUuid, mapper IgniteDoubleFunction<Double>, cacheName String) : void in class org.apache.ignite.ml.math.distributed.CacheUtils | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> to cache : IgniteCache<RowColMatrixKey,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Inline Variable | 1 | ||
Inline Variable cols : int in method public times(mtx Matrix) : Matrix from class org.apache.ignite.ml.math.impls.matrix.SparseDistributedMatrix | From | To |