Class LSIAttractMapper
java.lang.Object
se.lnu.siq.s4rdm3x.model.cmd.mapper.MapperBase
se.lnu.siq.s4rdm3x.model.cmd.mapper.IRMapperBase
se.lnu.siq.s4rdm3x.model.cmd.mapper.LSIAttractMapper
public class LSIAttractMapper extends IRMapperBase
Encapsulates mapping based on a latent semantic indexing cosine similarity metric. Evaluated by Roberto Almeida Bittencourt, Gustavo Jansen de_Souza Santos, Dalton Dario Serey Guerrero, and Gail C. Murphy. 2010. Improving Automated Mapping in Reflexion Models Using Information Retrieval Techniques. In Proceedings of the 2010 17th Working Conference on Reverse Engineering (WCRE ’10). IEEE Computer Society, USA, 163–172. DOI:https://doi.org/10.1109/WCRE.2010.26
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LSIAttractMapper.WordMatrix
Nested classes/interfaces inherited from class se.lnu.siq.s4rdm3x.model.cmd.mapper.MapperBase
MapperBase.ClusteredNode, MapperBase.OrphanNode
-
Field Summary
Fields Modifier and Type Field Description int
m_autoWrong
Fields inherited from class se.lnu.siq.s4rdm3x.model.cmd.mapper.MapperBase
m_arch, m_failedMappings, m_manuallyMappedNodes
-
Constructor Summary
Constructors Constructor Description LSIAttractMapper(ArchDef a_arch, boolean a_doManualMapping, boolean a_doUseCDA, boolean a_doUseNodeText, boolean a_doUseNodeName, boolean a_doUseArchComponentName, int a_minWordLength)
-
Method Summary
Modifier and Type Method Description LSIAttractMapper.WordMatrix
getTrainingData(java.util.List<MapperBase.ClusteredNode> a_nodes, ArchDef a_arch)
void
run(CGraph a_g)
void
runBittenCourt(CGraph a_g)
Methods inherited from class se.lnu.siq.s4rdm3x.model.cmd.mapper.IRMapperBase
deCamelCase, doUseArchComponentName, doUseCDA, doUseNodeName, doUseNodeText, getArchComponentWords, getComponentComponentRelationString, getMappedCDAWords, getNodeWords, getStemmer, getUnmappedCDAWords, isStopWord
Methods inherited from class se.lnu.siq.s4rdm3x.model.cmd.mapper.MapperBase
addAutoClusteredOrphan, doAutoMapping, doAutoMapping, doAutoMappingAbsThreshold, doManualMapping, getAutoClusteredNodes, getAutoClusteredOrphanCount, getInitiallyMappedNodes, getMaxIndices, getOrphanNodes, manualMapping
-
Field Details
-
m_autoWrong
public int m_autoWrong
-
-
Constructor Details
-
LSIAttractMapper
public LSIAttractMapper(ArchDef a_arch, boolean a_doManualMapping, boolean a_doUseCDA, boolean a_doUseNodeText, boolean a_doUseNodeName, boolean a_doUseArchComponentName, int a_minWordLength)
-
-
Method Details
-
run
-
runBittenCourt
-
getTrainingData
public LSIAttractMapper.WordMatrix getTrainingData(java.util.List<MapperBase.ClusteredNode> a_nodes, ArchDef a_arch)
-