|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.output.impl.JUNGGraphGenerator
| Constructor Summary | |
JUNGGraphGenerator(PublicationManager pubManager,
AuthorManager authorManager)
Constructs a graph generator using the specified publication and author managers. |
|
| Method Summary | |
java.lang.Object |
generateAuthorPublicationGraph(java.lang.Object authorGraph,
java.lang.Object publicationGraph)
Generates a author-publication graph of type JUNG Graph (edu.uci.ics.jung.graph.Graph) This graph has two types of vertices, one type representing the authors and another type representing the papers. |
java.lang.Object |
generateCitationGraph()
Generates a co-citation graph of type JUNG Graph (edu.uci.ics.jung.graph.Graph) using the publication manager. |
java.lang.Object |
generateCoAuthorGraph()
Generates a co-author graph of type JUNG Graph (edu.uci.ics.jung.graph.Graph) using the author manager. |
java.lang.Class |
getGraphClass()
|
void |
setAuthorManager(AuthorManager authorManager)
Set the author manager for this generator. |
void |
setPublicationManager(PublicationManager pubManager)
Set the publication manager for this generator. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JUNGGraphGenerator(PublicationManager pubManager,
AuthorManager authorManager)
pubManager - The publication manager to use for publications.authorManager - The author manager to use for authors.| Method Detail |
public java.lang.Class getGraphClass()
getGraphClass in interface GraphGenerator
public java.lang.Object generateAuthorPublicationGraph(java.lang.Object authorGraph,
java.lang.Object publicationGraph)
generateAuthorPublicationGraph in interface GraphGeneratoredu.iu.iv.modeling.tarl.output.GraphGenerator#generateAuthorPublicationGraph()public java.lang.Object generateCoAuthorGraph()
FOR EACH author IN authorManager.getAuthors() FOR EACH pub IN pubManager.getPublications() IF author IS IN pub.getAuthors() graph.addEdge(author, <AllOtherAuthors>) ; ENDIF ENDFOR ENDFOR
generateCoAuthorGraph in interface GraphGeneratorGraphGenerator.generateCoAuthorGraph()public java.lang.Object generateCitationGraph()
FOR pub IN pubManager.getPublications() FOR citedPub IN pub.getCitedPublications() graph.addEdge(pub, citedPub) ; ENDFOR ENDFOR
generateCitationGraph in interface GraphGeneratorGraphGenerator.generateCitationGraph()public void setAuthorManager(AuthorManager authorManager)
GraphGenerator
setAuthorManager in interface GraphGeneratorauthorManager - edu.iu.iv.modeling.tarl.output.GraphGenerator#setAuthorManager(edu.iu.iv.modeling.tarl.author.AuthorManagerInterface)public void setPublicationManager(PublicationManager pubManager)
GraphGenerator
setPublicationManager in interface GraphGeneratorpubManager - edu.iu.iv.modeling.tarl.output.GraphGenerator#setPublicationManager(edu.iu.iv.modeling.tarl.publication.PublicationManagerInterface)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||