Class

edu.cmu.ml.rtw.pra.graphs

GraphCreator

Related Doc: package graphs

Permalink

class GraphCreator extends Step

Linear Supertypes
Step, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GraphCreator
  2. Step
  3. LazyLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphCreator(baseGraphDir: String, params: JValue, outputter: Outputter, fileUtil: FileUtil)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _runPipeline(): Unit

    Permalink
    Definition Classes
    Step
  5. def _runStep(): Unit

    Permalink
    Definition Classes
    GraphCreator → Step
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val binaryFilename: String

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createGraphFiles(aliases: Seq[(String, Map[String, Seq[String]])], nodeDict: MutableConcurrentDictionary, edgeDict: MutableConcurrentDictionary): Unit

    Permalink
  10. def createMatrices(filename: String, maxMatrixFileSize: Int): Unit

    Permalink
  11. val deduplicateEdges: Boolean

    Permalink
  12. val edgeDictFilename: String

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. implicit val formats: DefaultFormats.type

    Permalink
  17. def generateSyntheticRelationSet(params: JValue): RelationSet

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getNumShards(numEdges: Int): Int

    Permalink
  20. def getSvoPrefixes(relationSets: Seq[RelationSet]): Map[RelationSet, String]

    Permalink

    Create a prefix for each SVO file as necessary, according to how they were embedded.

    Create a prefix for each SVO file as necessary, according to how they were embedded.

    If the edges are embedded, we need to differentiate the latent representations if they were not made together. That is, if we have two or more embedded SVO files, and they have embeddings files that are _different_, that means that a +L1 edge from one and a +L1 edge from another are not the same edge type. So we add a prefix to the edge type that is specific to each embedding. This isn't a problem with KB edges vs. SVO edges, because the "alias" relation assures that the two kinds of edges will never share the same space.

  21. val graphName: String

    Permalink
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. val inProgressFile: String

    Permalink
    Definition Classes
    GraphCreator → Step
  24. val inputAliasFiles: List[String]

    Permalink
  25. val inputRelationFiles: List[String]

    Permalink
  26. val inputs: Set[(String, Option[Step])]

    Permalink
    Definition Classes
    GraphCreator → Step
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val loggedParams: Option[JValue]

    Permalink
    Definition Classes
    Step
  29. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  30. val matrixOutDir: String

    Permalink
  31. val maxMatrixFileSize: Int

    Permalink
  32. val name: String

    Permalink
    Definition Classes
    GraphCreator → Step
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. val nodeDictFilename: String

    Permalink
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. val outdir: String

    Permalink
  38. val outputBinaryFile: Boolean

    Permalink
  39. val outputMatrices: Boolean

    Permalink
  40. val outputPlainTextFile: Boolean

    Permalink
  41. val outputs: Set[String]

    Permalink
    Definition Classes
    GraphCreator → Step
  42. val paramFile: String

    Permalink
    Definition Classes
    GraphCreator → Step
  43. def parametersMatch(params1: JValue, params2: JValue): Boolean

    Permalink
    Definition Classes
    GraphCreator → Step
  44. val plainTextFilename: String

    Permalink
  45. val relationSets: List[RelationSet]

    Permalink
  46. def runPipeline(): Unit

    Permalink
    Definition Classes
    Step
  47. def runStep(): Unit

    Permalink
    Definition Classes
    Step
  48. def runSubstepsInParallel: Boolean

    Permalink
    Definition Classes
    Step
  49. def shardGraph(baseFilename: String, numShards: Int): Unit

    Permalink

    Runs GraphChi's preprocessing (sharding) on the graph.

    Runs GraphChi's preprocessing (sharding) on the graph. This produces a number of shard files, and if the files are already present, this is a no-op. So it's only run once for each graph, no matter how many times you run GraphChi code.

  50. val shouldShardGraph: Boolean

    Permalink
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. var synthetic_data_creator_factory: ISyntheticDataCreatorFactory

    Permalink
  53. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def writeEdgesSoFar(_start_relation: Int, end_relation: Int, edges_to_write: Seq[Seq[(Int, Int)]]): Unit

    Permalink

Inherited from Step

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped